All Data Structures Functions Variables Pages
Protected Member Functions
TypeValidator Class Reference
Inheritance diagram for TypeValidator:

Protected Member Functions

 validateAttribute ($object, $attribute)

Detailed Description

See the yii documentation. Validates datetime as integer, since it is a timestamp Validates date as a db formatted date string.

Definition at line 43 of file TypeValidator.php.

Member Function Documentation

validateAttribute (   $object,

Validates the attribute of the model. If there is any error, the error message is added to the model.

RedBeanModel$modelthe model being validated
string$attributethe attribute being validated

Definition at line 51 of file TypeValidator.php.

The documentation for this class was generated from the following file:
Generated on Tue Jun 2 2020 07:11:06