CheckBoxTriggerRules Class Reference

Inheritance diagram for CheckBoxTriggerRules:
TriggerRules

Public Member Functions

 evaluateBeforeSave (RedBeanModel $model, $attribute)

Protected Member Functions

 sanitize ($value)

Detailed Description

Class to help evaluate checkBox (boolean) triggers against model values

Definition at line 40 of file CheckBoxTriggerRules.php.


Member Function Documentation

evaluateBeforeSave ( RedBeanModel model,
attribute 
)
Parameters:
RedBeanModel $model
string $attribute
Returns:
bool
Exceptions:
NotSupportedException 

Reimplemented from TriggerRules.

Definition at line 48 of file CheckBoxTriggerRules.php.

sanitize ( value  )  [protected]
Parameters:
$value 
Returns:
mixed

Reimplemented from TriggerRules.

Definition at line 96 of file CheckBoxTriggerRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Oct 16 07:10:23 2017