PHP Class Pimcore\Model\Schedule\Manager\Procedural

Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$jobs array

Protected Properties

Property Type Description
$_pidFileName
$force boolean
$validJobs array

Public Methods

Method Description
__construct ( $pidFileName )
getForce ( ) : boolean
getLastExecution ( ) : mixed
registerJob ( Job $job, boolean $force = false ) : boolean
run ( )
setForce ( boolean $force )
setLastExecution ( )
setValidJobs ( $validJobs )

Method Details

__construct() public method

public __construct ( $pidFileName )
$pidFileName

getForce() public method

public getForce ( ) : boolean
return boolean

getLastExecution() public method

public getLastExecution ( ) : mixed
return mixed

registerJob() public method

public registerJob ( Job $job, boolean $force = false ) : boolean
$job Pimcore\Model\Schedule\Maintenance\Job
$force boolean
return boolean

run() public method

public run ( )

setForce() public method

public setForce ( boolean $force )
$force boolean

setLastExecution() public method

public setLastExecution ( )

setValidJobs() public method

public setValidJobs ( $validJobs )
$validJobs

Property Details

$_pidFileName protected property

protected $_pidFileName

$force protected property

protected bool $force
return boolean

$jobs public property

public array $jobs
return array

$validJobs protected property

protected array $validJobs
return array