RedBeanModelCompareDateTimeValidator Class Reference

Data Fields


Protected Member Functions

 validateAttribute ($object, $attribute)

Detailed Description

Validator for comparing date time strings against each other.

Definition at line 40 of file RedBeanModelCompareDateTimeValidator.php.

Member Function Documentation

validateAttribute ( object,
) [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.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Jan 17 07:11:12 2020