Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
isSatisfiedBy (DateTimeInterface $date, $value, bool $invert) | |
increment (DateTimeInterface &$date, $invert=false, $parts=null) | |
validate (string $value) | |
CRON field interface.
When a CRON expression is not satisfied, this method is used to increment or decrement a DateTime object by the unit of the cron field.
Implémenté dans DayOfWeekField, HoursField, DayOfMonthField, MonthField, et MinutesField.
isSatisfiedBy | ( | DateTimeInterface | $date, |
$value, | |||
bool | $invert | ||
) |
Check if the respective value of a DateTime field satisfies a CRON exp.
Implémenté dans DayOfMonthField, DayOfWeekField, HoursField, MonthField, et MinutesField.
validate | ( | string | $value | ) |
Validates a CRON expression for a given field.
string | $value | CRON expression value to validate |
Implémenté dans AbstractField, DayOfWeekField, et DayOfMonthField.