Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
DateTimeTriggerRules Class Reference
Inheritance diagram for DateTimeTriggerRules:
DateTriggerRules TriggerRules

Public Member Functions

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

Protected Member Functions

 resolveAttributeValueIsChanged (RedBeanModel $model, $attribute)
 
- Protected Member Functions inherited from DateTriggerRules
 sanitize ($value, $adjustForTimezone=false)
 
 sanitizeTriggerValue ($value)
 
 resolveAttributeValueIsChanged (RedBeanModel $model, $attribute)
 
 sanitizeAndResolveThirdValue ()
 
- Protected Member Functions inherited from TriggerRules
 sanitize ($value)
 

Additional Inherited Members

- Protected Attributes inherited from TriggerRules
 $trigger
 

Detailed Description

Class to help evaluate dateTime triggers against model values.

Definition at line 40 of file DateTimeTriggerRules.php.

Member Function Documentation

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

Definition at line 50 of file DateTimeTriggerRules.php.

resolveAttributeValueIsChanged ( RedBeanModel  $model,
  $attribute 
)
protected

Resolves for special attributes. CreatedDateTime should resolve true if the model is new, otherwise false ModifiedDateTime should always resolve as true because it would always change

Parameters
RedBeanModel$model
$attribute
Returns
bool

Definition at line 70 of file DateTimeTriggerRules.php.


The documentation for this class was generated from the following file:
Generated on Sat Sep 26 2020 07:10:43
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.