Home
last modified time | relevance | path

Searched +full:validation +full:exception +full:pastonly +(+path:plugin +path:struct) -(+path:plugin +path:struct +path:lang) (Results 1 – 2 of 2) sorted by relevance

/plugin/struct/types/
H A DDate.php12 'pastonly' => false,
66 * This function needs to throw a validation exception when validation fails.
67 * The exception message will be prefixed by the appropriate field on output
82 if ($this->config['pastonly'] && strtotime($rawvalue) > time()) {
83 throw new ValidationException('pastonly');
H A DDateTime.php15 'pastonly' => false,
64 * This function needs to throw a validation exception when validation fails.
65 * The exception message will be prefixed by the appropriate field on output
82 if ($this->config['pastonly'] && strtotime($rawvalue) > time()) {
83 throw new ValidationException('pastonly');