Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

DateTimeTriggerRules Class Reference

Inheritance diagram for DateTimeTriggerRules:
DateTriggerRules TriggerRules

Public Member Functions

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

Protected Member Functions

 resolveAttributeValueIsChanged (RedBeanModel $model, $attribute)

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 

Reimplemented from DateTriggerRules.

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

Reimplemented from DateTriggerRules.

Definition at line 70 of file DateTimeTriggerRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:49 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8