Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct () | |
isSatisfiedBy (DateTimeInterface $date, $value, bool $invert) | |
increment (DateTimeInterface &$date, $invert=false, $parts=null) | |
validate (string $value) | |
Fonctions membres publiques hérités de AbstractField | |
__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) | |
Attributs protégés | |
$rangeStart = 0 | |
$rangeEnd = 7 | |
$nthRange | |
$literals = [1 => 'MON' | |
Attributs protégés hérités de AbstractField | |
$fullRange = [] | |
$literals = [] | |
$rangeStart | |
$rangeEnd | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de AbstractField | |
convertLiterals (string $value) | |
timezoneSafeModify (DateTimeInterface $dt, string $modification) | |
setTimeHour (DateTimeInterface $date, bool $invert, int $originalTimestamp) | |
Day of week field. Allows: * / , - ? L #.
Days of the week can be represented as a number 0-7 (0|7 = Sunday) or as a three letter string: SUN, MON, TUE, WED, THU, FRI, SAT.
'L' stands for "last". It allows you to specify constructs such as "the last Friday" of a given month.
'#' is allowed for the day-of-week field, and must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.
__construct | ( | ) |
Constructor
Références Symfony\Contracts\Service\__construct().
Implémente FieldInterface.
isSatisfiedBy | ( | DateTimeInterface | $date, |
$value, | |||
bool | $invert | ||
) |
Implémente FieldInterface.
Références $date, $fieldValue, $format, $parts, $value, et elseif.
validate | ( | string | $value | ) |
{Validates a CRON expression for a given field.
string | $value | CRON expression value to validate |
Implémente FieldInterface.
Références $value.
|
protected |
{}
|
protected |
|
protected |
{}
|
protected |
{}