Data Fields | |
$type | |
$compareAttribute | |
Protected Member Functions | |
validateAttribute ($object, $attribute) |
Validator for comparing date time strings against each other.
Definition at line 40 of file RedBeanModelCompareDateTimeValidator.php.
validateAttribute | ( | $ | object, | |
$ | attribute | |||
) | [protected] |
Validates a date time attribute on a model. Compares either an attribute value is larger or smaller than another date time attribute. If there is any error, the error message is added to the model.
RedBeanModel | $model the model being validated | |
string | $attribute the attribute being validated |
Definition at line 61 of file RedBeanModelCompareDateTimeValidator.php.