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

CurrencyValueTriggerRules Class Reference

Inheritance diagram for CurrencyValueTriggerRules:
NumberTriggerRules TriggerRules

Public Member Functions

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

Protected Member Functions

 sanitize ($value)
 resolveCurrency (Currency $currency)

Detailed Description

Class to help evaluate CurrencyValue triggers against model values.

Definition at line 40 of file CurrencyValueTriggerRules.php.


Member Function Documentation

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

Reimplemented from NumberTriggerRules.

Definition at line 48 of file CurrencyValueTriggerRules.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 TriggerRules.

Definition at line 144 of file CurrencyValueTriggerRules.php.

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

Reimplemented from TriggerRules.

Definition at line 163 of file CurrencyValueTriggerRules.php.

resolveCurrency ( Currency currency  )  [protected]
Parameters:
Currency $currency
Returns:
bool

Definition at line 172 of file CurrencyValueTriggerRules.php.


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