rex_cronjob_export
extends rex_cronjob
in package
Cronjob Addon.
Table of Contents
Constants
- DEFAULT_FILENAME = '%REX_SERVER_%Y%m%d_%H%M_rex%REX_VERSION'
Methods
- __get() : mixed
- __set() : void
- execute() : bool
- factory() : rex_cronjob>|rex_cronjob
- getEnvironments() : array<int, "frontend"|"backend"|"script">
- getMessage() : string
- getParam() : mixed
- getParamFields() : array<int, array<string, mixed>>
- getParams() : array<string, mixed>
- getType() : string
- getTypeName() : string
- hasMessage() : bool
- setMessage() : void
- setParam() : void
- setParams() : void
Constants
DEFAULT_FILENAME
public
mixed
DEFAULT_FILENAME
= '%REX_SERVER_%Y%m%d_%H%M_rex%REX_VERSION'
Methods
__get()
public
__get(string $key) : mixed
Parameters
- $key : string
__set()
public
__set(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed
execute()
public
execute() : bool
Return values
bool —true on successfull execution, false on error
factory()
public
final static factory(rex_cronjob> $class) : rex_cronjob>|rex_cronjob
Parameters
- $class : rex_cronjob>
Return values
rex_cronjob>|rex_cronjobgetEnvironments()
public
getEnvironments() : array<int, "frontend"|"backend"|"script">
Return values
array<int, "frontend"|"backend"|"script">getMessage()
public
getMessage() : string
Return values
stringgetParam()
public
getParam(string $key[, mixed $default = null ]) : mixed
Parameters
- $key : string
- $default : mixed = null
getParamFields()
public
getParamFields() : array<int, array<string, mixed>>
Return values
array<int, array<string, mixed>>getParams()
public
getParams() : array<string, mixed>
Return values
array<string, mixed>getType()
public
final getType() : string
Return values
stringgetTypeName()
public
getTypeName() : string
Return values
stringhasMessage()
public
hasMessage() : bool
Return values
boolsetMessage()
public
setMessage(string $message) : void
Parameters
- $message : string
setParam()
public
setParam(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed
setParams()
public
setParams(array<string, mixed> $params) : void
Parameters
- $params : array<string, mixed>