Options
Table of Contents
Properties
-
$allowedFields
: array<string|int, mixed>
Methods
-
validate()
: array<string|int, mixed>
$allowedFields
public
static array<string|int, mixed>
$allowedFields
= [
'PERIOD' => true,
'EVERY_DAY' => true,
'WORKDAY_ONLY' => true,
'EVERY_WEEK' => true,
'WEEK_DAYS' => true,
'MONTHLY_TYPE' => true,
'MONTHLY_DAY_NUM' => true,
'MONTHLY_MONTH_NUM_1' => true,
'MONTHLY_WEEK_DAY_NUM' => true,
'MONTHLY_WEEK_DAY' => true,
'MONTHLY_MONTH_NUM_2' => true,
'YEARLY_TYPE' => true,
'YEARLY_DAY_NUM' => true,
'YEARLY_MONTH_1' => true,
'YEARLY_WEEK_DAY_NUM' => true,
'YEARLY_WEEK_DAY' => true,
'YEARLY_MONTH_2' => true,
'START_DATE' => true,
'END_DATE' => true,
'TIME' => true,
// deprecated, TIMEZONE_OFFSET parameter is always 0 in new templates
'TIMEZONE_OFFSET' => true,
'DAILY_MONTH_INTERVAL' => true,
'REPEAT_TILL' => true,
'TIMES' => true,
'NEXT_EXECUTION_TIME' => true,
'DEADLINE_OFFSET' => true,
]
validate()
public
static validate(array<string|int, mixed> $options) : array<string|int, mixed>
Parameters
-
$options
: array<string|int, mixed>
-
Return values
array<string|int, mixed>