mssql_extractor
class mssql_extractor extends base_extractor
Properties
protected string | $phpbb_root_path | from base_extractor | |
protected request_interface | $request | from base_extractor | |
protected driver_interface | $db | from base_extractor | |
protected bool | $download | from base_extractor | |
protected bool | $store | from base_extractor | |
protected int | $time | from base_extractor | |
protected string | $format | from base_extractor | |
protected resource | $fp | from base_extractor | |
protected string | $write | from base_extractor | |
protected string | $close | from base_extractor | |
protected bool | $run_comp | from base_extractor | |
protected bool | $is_initialized | from base_extractor |
Methods
Start the extraction of the database
Writes closing line(s) to database backup
Writes header comments to the database backup
Extracts database table structure
Extracts data from database table
Extracts data from database table (for MSSQL Native driver)
Extracts data from database table (for ODBC driver)
Details
in
base_extractor at line 91
__construct(string $phpbb_root_path, request_interface $request, driver_interface $db)
Constructor
in
base_extractor at line 104
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 26
null
write_end()
Writes closing line(s) to database backup
in
base_extractor at line 212
null
flush(string $data)
Writes data to file/download content
at line 40
null
write_start(string $table_prefix)
Writes header comments to the database backup
at line 60
null
write_table(string $table_name)
Extracts database table structure
at line 176
null
write_data(string $table_name)
Extracts data from database table
at line 200
protected null
write_data_mssqlnative(string $table_name)
Extracts data from database table (for MSSQL Native driver)
at line 316
protected null
write_data_odbc(string $table_name)
Extracts data from database table (for ODBC driver)