All Data Structures Functions Variables Pages
Protected Member Functions
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.

Definition at line 125 of file RedBeanModelDefaultValueValidator.php.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 2020 07:10:47