All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
CheckBoxTriggerRules Class Reference
Inheritance diagram for CheckBoxTriggerRules:
TriggerRules

Public Member Functions

 evaluateBeforeSave (RedBeanModel $model, $attribute)
 
- Public Member Functions inherited from TriggerRules
 evaluateBeforeSave (RedBeanModel $model, $attribute)
 
 __construct (TriggerForWorkflowForm $trigger)
 
 evaluateTimeTriggerBeforeSave (RedBeanModel $model, $attribute, $changeRequiredToProcess=true)
 

Protected Member Functions

 sanitize ($value)
 
- Protected Member Functions inherited from TriggerRules
 sanitize ($value)
 

Additional Inherited Members

- Protected Attributes inherited from TriggerRules
 $trigger
 

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

Definition at line 48 of file CheckBoxTriggerRules.php.

sanitize (   $value)
protected
Parameters
$value
Returns
mixed

Definition at line 96 of file CheckBoxTriggerRules.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:28