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

DateTriggerRules Class Reference

Inheritance diagram for DateTriggerRules:
TriggerRules DateTimeTriggerRules

Public Member Functions

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

Protected Member Functions

 sanitize ($value, $adjustForTimezone=false)
 sanitizeTriggerValue ($value)
 resolveAttributeValueIsChanged (RedBeanModel $model, $attribute)
 sanitizeAndResolveThirdValue ()

Detailed Description

Class to help evaluate date triggers against model values.

Definition at line 40 of file DateTriggerRules.php.


Member Function Documentation

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

Reimplemented from TriggerRules.

Definition at line 48 of file DateTriggerRules.php.

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 TriggerRules.

Reimplemented in DateTimeTriggerRules.

Definition at line 152 of file DateTriggerRules.php.

sanitize ( value,
adjustForTimezone = false 
) [protected]
Parameters:
$value 
bool $adjustForTimezone
Returns:
int|mixed

Definition at line 169 of file DateTriggerRules.php.

sanitizeTriggerValue ( value  )  [protected]
Parameters:
$value 
Returns:
int

Definition at line 188 of file DateTriggerRules.php.

resolveAttributeValueIsChanged ( RedBeanModel model,
attribute 
) [protected]
Parameters:
RedBeanModel $model
$attribute 
Returns:
bool

Reimplemented in DateTimeTriggerRules.

Definition at line 198 of file DateTriggerRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jan 21 07:10:22 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