PHP Class phpbb\cron\task\text_reparser\reparser

Inheritance: extends phpbb\cron\task\base
Datei anzeigen Open project: phpbb/phpbb

Protected Properties

Property Type Description
$config phpbb\config\config
$config_text phpbb\config\db_text
$reparse_lock phpbb\lock\db
$reparser_manager phpbb\textreparser\manager
$reparser_name string
$reparsers phpbb\di\service_collection
$resume_data array

Public Methods

Method Description
__construct ( phpbb\config\config $config, phpbb\config\db_text $config_text, phpbb\lock\db $reparse_lock, manager $reparser_manager, phpbb\di\service_collection $reparsers ) Constructor
is_runnable ( )
run ( )
set_reparser ( string $reparser ) Sets the reparser for this cron task
should_run ( )

Method Details

__construct() public method

Constructor
public __construct ( phpbb\config\config $config, phpbb\config\db_text $config_text, phpbb\lock\db $reparse_lock, manager $reparser_manager, phpbb\di\service_collection $reparsers )
$config phpbb\config\config
$config_text phpbb\config\db_text
$reparse_lock phpbb\lock\db
$reparser_manager phpbb\textreparser\manager
$reparsers phpbb\di\service_collection

is_runnable() public method

public is_runnable ( )

run() public method

public run ( )

set_reparser() public method

Sets the reparser for this cron task
public set_reparser ( string $reparser )
$reparser string

should_run() public method

public should_run ( )

Property Details

$config protected_oe property

protected config,phpbb\config $config
return phpbb\config\config

$config_text protected_oe property

protected db_text,phpbb\config $config_text
return phpbb\config\db_text

$reparse_lock protected_oe property

protected db,phpbb\lock $reparse_lock
return phpbb\lock\db

$reparser_manager protected_oe property

protected manager,phpbb\textreparser $reparser_manager
return phpbb\textreparser\manager

$reparser_name protected_oe property

protected string $reparser_name
return string

$reparsers protected_oe property

protected service_collection,phpbb\di $reparsers
return phpbb\di\service_collection

$resume_data protected_oe property

protected array $resume_data
return array