PHP Class Backend\Core\Engine\Base\Cronjob

Inheritance: extends Object
Afficher le fichier Open project: forkcms/forkcms Class Usage Examples

Protected Properties

Свойство Type Description
$id integer The current id

Méthodes publiques

Méthode Description
execute ( )
getId ( ) : integer Get the id
setAction ( string $action, string $module = null ) Set the action
setModule ( string $module ) Set the module

Méthodes protégées

Méthode Description
clearBusyFile ( ) Clear/removed the busy file
getCacheDirectory ( ) : string
setBusyFile ( ) Set the busy file

Method Details

clearBusyFile() protected méthode

Clear/removed the busy file
protected clearBusyFile ( )

execute() public méthode

public execute ( )

getCacheDirectory() protected méthode

protected getCacheDirectory ( ) : string
Résultat string

getId() public méthode

Get the id
public getId ( ) : integer
Résultat integer

setAction() public méthode

We can't rely on the parent setModule function, because a cronjob requires no login
public setAction ( string $action, string $module = null )
$action string The action to load.
$module string The module to load.

setBusyFile() protected méthode

Set the busy file
protected setBusyFile ( )

setModule() public méthode

We can't rely on the parent setModule function, because a cronjob requires no login
public setModule ( string $module )
$module string The module to load.

Property Details

$id protected_oe property

The current id
protected int $id
Résultat integer