RedBeanModelDefaultValueValidator Class Reference

Inheritance diagram for RedBeanModelDefaultValueValidator:
RedBeanModelDateTimeDefaultValueValidator

Protected Member Functions

 validateAttribute ($model, $attributeName)
 calculate ()

Detailed Description

RedBeanModel version of CDefaultValueValidator. See the yii documentation.

Definition at line 41 of file RedBeanModelDefaultValueValidator.php.


Member Function Documentation

validateAttribute ( model,
attributeName 
) [protected]

See the yii documentation.

Definition at line 48 of file RedBeanModelDefaultValueValidator.php.

calculate (  )  [protected]

To be overriden in deriving class. Must return $this->value or calculate a something to return in its place.

Reimplemented in RedBeanModelDateTimeDefaultValueValidator.

Definition at line 125 of file RedBeanModelDefaultValueValidator.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Nov 19 07:10:28 2017