TextTriggerRules Class Reference

Inheritance diagram for TextTriggerRules:
TriggerRules

Public Member Functions

 evaluateBeforeSave (RedBeanModel $model, $attribute)

Protected Member Functions

 sanitize ($value)

Detailed Description

Class to help evaluate text/string triggers against model values. This includes text, textArea, phone, url, and email

Definition at line 40 of file TextTriggerRules.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 TextTriggerRules.php.

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

Reimplemented from TriggerRules.

Definition at line 147 of file TextTriggerRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Oct 17 07:10:30 2017