postgres_extractor
class postgres_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
from
base_extractor
null
init_extractor(string $format, string $filename, int $time, bool $download = false, bool $store = false)
Start the extraction of the database
from
base_extractor
null
write_end()
Writes closing line(s) to database backup
null
write_start(string $table_prefix)
Writes header comments to the database backup
null
write_table(string $table_name)
Extracts database table structure
null
write_data(string $table_name)
Extracts data from database table
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 329
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 23
null
write_start(string $table_prefix)
Writes header comments to the database backup
at line 42
null
write_table(string $table_name)
Extracts database table structure
at line 248
null
write_data(string $table_name)
Extracts data from database table