◆ __construct()
CrontabJob::__construct |
( |
|
$details = null , |
|
|
|
$identifier = null |
|
) |
| |
Class constructor.
- Parameters
-
mixed | $details | |
string | $identifier | |
- Returns
- void
◆ __get()
CrontabJob::__get |
( |
|
$variableName | ) |
|
Makes variables accessible in read-only
- Parameters
-
- Returns
- mixed
◆ set_details()
CrontabJob::set_details |
( |
|
$details | ) |
|
Define details and overwrite all values.
- Parameters
-
- Returns
- boolean success
◆ set_minute()
CrontabJob::set_minute |
( |
|
$minute | ) |
|
Define minute value.
- Parameters
-
- Returns
- boolean success
◆ set_hour()
CrontabJob::set_hour |
( |
|
$hour | ) |
|
Define hour value.
- Parameters
-
- Returns
- boolean
◆ set_dayOfMonth()
CrontabJob::set_dayOfMonth |
( |
|
$dayOfMonth | ) |
|
Define day of month value.
- Parameters
-
- Returns
- boolean success
◆ set_month()
CrontabJob::set_month |
( |
|
$month | ) |
|
Define month value.
- Parameters
-
- Returns
- boolean success
◆ set_dayOfWeek()
CrontabJob::set_dayOfWeek |
( |
|
$dayOfWeek | ) |
|
Define day of week value.
- Parameters
-
- Returns
- boolean success
◆ set_task()
CrontabJob::set_task |
( |
|
$task | ) |
|
Define task value.
- Parameters
-
- Returns
- boolean success
◆ set_identifier()
CrontabJob::set_identifier |
( |
|
$identifier | ) |
|
Define identifier value.
- Parameters
-
- Returns
- boolean success
◆ output()
Output job.
- Returns
- string
◆ toArray()
Return job values as an array.
- Returns
- string
◆ is_valid()
Check job is valid.
- Returns
- boolean success
◆ is_task()
CrontabJob::is_task |
( |
|
$task | ) |
|
Check task is the same as the given one.
- Parameters
-
- Returns
- boolean result
◆ load_fromDetails()
CrontabJob::load_fromDetails |
( |
| ) |
|
|
private |
Load job settings from details.
- Returns
- boolean success
◆ load_fromArrayDetails()
CrontabJob::load_fromArrayDetails |
( |
| ) |
|
|
private |
Load job settings from details in an array.
- Returns
- void
◆ load_fromStringDetails()
CrontabJob::load_fromStringDetails |
( |
| ) |
|
|
private |
Load job settings from details in a string.
- Returns
- void
◆ $lastError
integer CrontabJob::$lastError = 0 |
|
private |
◆ $details
mixed CrontabJob::$details = null |
|
private |
◆ $minute
string CrontabJob::$minute = '*' |
|
private |
Minute value for crontab setup.
◆ $hour
string CrontabJob::$hour = '*' |
|
private |
Hour value for crontab setup.
◆ $dayOfMonth
string CrontabJob::$dayOfMonth = '*' |
|
private |
Day of month value for crontab setup.
◆ $month
string CrontabJob::$month = '*' |
|
private |
Month value for crontab setup.
◆ $dayOfWeek
string CrontabJob::$dayOfWeek = '*' |
|
private |
Day of week value for crontab setup.
◆ $task
srting CrontabJob::$task = '' |
|
private |
Task value for crontab setup.
◆ $identifier
string CrontabJob::$identifier = null |
|
private |
The documentation for this class was generated from the following file: