Свойство | Тип | Описание | |
---|---|---|---|
$config | phpbb\config\config | ||
$config_text | phpbb\config\db_text | ||
$reparsers | phpbb\di\service_collection | ||
$resume_data | array |
Метод | Описание | |
---|---|---|
__construct ( phpbb\config\config $config, phpbb\config\db_text $config_text, phpbb\di\service_collection $reparsers ) | Constructor | |
find_reparser ( string $name ) : string | Finds a reparser by name. | |
get_resume_data ( string $name ) : array | Loads resume data from the database | |
schedule ( string $name, integer $interval ) | Sets the interval for a text_reparser cron task | |
schedule_all ( integer $interval ) | Sets the interval for all text_reparser cron tasks | |
update_resume_data ( string $name, integer $min, integer $current, integer $size, boolean $update_db = true ) | Updates the resume data in the database |
public __construct ( phpbb\config\config $config, phpbb\config\db_text $config_text, phpbb\di\service_collection $reparsers ) | ||
$config | phpbb\config\config | |
$config_text | phpbb\config\db_text | |
$reparsers | phpbb\di\service_collection |
public find_reparser ( string $name ) : string | ||
$name | string | Name of the reparser to look up. |
Результат | string | A reparser service name, or null. |
public get_resume_data ( string $name ) : array | ||
$name | string | Name of the reparser to which the resume data belongs |
Результат | array |
public schedule_all ( integer $interval ) | ||
$interval | integer | Interval in seconds, 0 to disable the cron task |
public update_resume_data ( string $name, integer $min, integer $current, integer $size, boolean $update_db = true ) | ||
$name | string | Name of the reparser to which the resume data belongs |
$min | integer | Lowest record ID |
$current | integer | Current record ID |
$size | integer | Number of records to process at a time |
$update_db | boolean | True if the resume data should be written to the database, false if not. (default: true) |
protected db_text,phpbb\config $config_text | ||
Результат | phpbb\config\db_text |
protected service_collection,phpbb\di $reparsers | ||
Результат | phpbb\di\service_collection |