base_extractor
abstract class base_extractor implements extractor_interface
Abstract base class for database extraction
Properties
protected string | $phpbb_root_path | ||
protected request_interface | $request | ||
protected driver_interface | $db | ||
protected bool | $download | ||
protected bool | $store | ||
protected int | $time | ||
protected string | $format | ||
protected resource | $fp | ||
protected string | $write | ||
protected string | $close | ||
protected bool | $run_comp | ||
protected bool | $is_initialized |
Methods
null
init_extractor(string $format, string $filename, int $time, bool $download = false, bool $store = false)
Start the extraction of the database
null
write_end()
Closes file and/or dumps download data
null
flush(string $data)
Writes data to file/download content
Details
at line 91
__construct(string $phpbb_root_path, request_interface $request, driver_interface $db)
Constructor
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 183
null
write_end()
Closes file and/or dumps download data
at line 212
null
flush(string $data)
Writes data to file/download content