RedBeanModelDefaultValueValidator Class Reference

Inheritance diagram for RedBeanModelDefaultValueValidator:

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,
) [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 Mon Nov 18 07:11:00 2019