extractor_interface
interface extractor_interface
Database extractor interface
Methods
null
init_extractor(string $format, string $filename, int $time, bool $download = false, bool $store = false)
Start the extraction of the database
null
write_start(string $table_prefix)
Writes header comments to the database backup
null
write_end()
Closes file and/or dumps download data
null
write_table(string $table_name)
Extracts database table structure
null
write_data(string $table_name)
Extracts data from database table
null
flush(string $data)
Writes data to file/download content
Details
at line 35
null
init_extractor(string $format, string $filename, int $time, bool $download = false, bool $store = false)
Start the extraction of the database
This function initialize the database extraction. It is required to call this function before calling any other extractor functions.
at line 44
null
write_start(string $table_prefix)
Writes header comments to the database backup
at line 52
null
write_end()
Closes file and/or dumps download data
at line 61
null
write_table(string $table_name)
Extracts database table structure
at line 70
null
write_data(string $table_name)
Extracts data from database table
at line 79
null
flush(string $data)
Writes data to file/download content