ConstantBasedStaticDropDownTriggerRules Class Reference

Inheritance diagram for ConstantBasedStaticDropDownTriggerRules:
DropDownTriggerRules TriggerRules ProductTemplatePriceFrequencyDropDownTriggerRules ProductTemplateStatusDropDownTriggerRules ProductTemplateTypeDropDownTriggerRules ProjectStatusDropDownTriggerRules StatusDropDownTriggerRules TaskStatusDropDownTriggerRules

Public Member Functions

 evaluateBeforeSave (RedBeanModel $model, $attribute)
 evaluateTimeTriggerBeforeSave (RedBeanModel $model, $attribute, $changeRequiredToProcess=true)

Detailed Description

Class to help evaluate ConstantBasedStatic triggers against model values. For example the status attribute on

See also:
Task or
Project

Definition at line 41 of file ConstantBasedStaticDropDownTriggerRules.php.


Member Function Documentation

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

Reimplemented from DropDownTriggerRules.

Definition at line 49 of file ConstantBasedStaticDropDownTriggerRules.php.

evaluateTimeTriggerBeforeSave ( RedBeanModel model,
attribute,
changeRequiredToProcess = true 
)
See also:
parent::evaluateTimeTriggerBeforeSave for explanation of method
Parameters:
RedBeanModel $model
string $attribute
boolean $changeRequiredToProcess - if a change in value is required to confirm the time trigger is true
Returns:
bool

Reimplemented from DropDownTriggerRules.

Definition at line 151 of file ConstantBasedStaticDropDownTriggerRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Apr 28 07:10:23 2017