Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct () | |
isSatisfied (int $dateValue, string $value) | |
isRange (string $value) | |
isIncrementsOfRanges (string $value) | |
isInRange (int $dateValue, $value) | |
isInIncrementsOfRanges (int $dateValue, string $value) | |
getRangeForExpression (string $expression, int $max) | |
validate (string $value) | |
Fonctions membres publiques hérités de FieldInterface | |
isSatisfiedBy (DateTimeInterface $date, $value, bool $invert) | |
increment (DateTimeInterface &$date, $invert=false, $parts=null) | |
Fonctions membres protégées | |
convertLiterals (string $value) | |
timezoneSafeModify (DateTimeInterface $dt, string $modification) | |
setTimeHour (DateTimeInterface $date, bool $invert, int $originalTimestamp) | |
Attributs protégés | |
$fullRange = [] | |
$literals = [] | |
$rangeStart | |
$rangeEnd | |
Abstract CRON expression field.
__construct | ( | ) |
Constructor
|
protected |
getRangeForExpression | ( | string | $expression, |
int | $max | ||
) |
Returns a range of values for the given cron expression.
string | $expression | The expression to evaluate |
int | $max | Maximum offset for range |
Références $i, Joomla\Database\Query\$offset, et $range.
isIncrementsOfRanges | ( | string | $value | ) |
Check if a value is an increments of ranges.
Références $value.
isInIncrementsOfRanges | ( | int | $dateValue, |
string | $value | ||
) |
isInRange | ( | int | $dateValue, |
$value | |||
) |
isRange | ( | string | $value | ) |
Check if a value is a range.
Références $value.
isSatisfied | ( | int | $dateValue, |
string | $value | ||
) |
Check to see if a field is satisfied by a value.
Références $value.
|
protected |
|
protected |
validate | ( | string | $value | ) |
Checks to see if a value is valid for the field.
string | $value |
Implémente FieldInterface.
|
protected |
|
protected |
|
protected |
|
protected |