Checks that a date range is valid.
This is the code documentation for the SproutCMS project
Search documentation |
function dateRange()Checks that a date range is valid.
Usagevoid Validity::dateRange ( array $vals [, string $min [, string $max [, bool $enforce_ordering ]]] ); Example$valid->multipleCheck(['date_start', 'date_end'], 'Validity::dateRange', '1999-01-01', '2099-01-01') Arguments
Return value
|
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |