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

CurrencyValueWorkflowActionAttributeForm Class Reference

Inheritance diagram for CurrencyValueWorkflowActionAttributeForm:
WorkflowActionAttributeForm ConfigurableMetadataModel

Public Member Functions

 getValueElementType ()
 rules ()
 validateCurrencyId ()
 resolveValueAndSetToModel (WorkflowActionProcessingModelAdapter $adapter, $attribute)

Data Fields

const CURRENCY_ID_TYPE_STATIC = 'Static'
 $currencyId
 $currencyIdType = self::CURRENCY_ID_TYPE_STATIC

Protected Member Functions

 makeTypeValuesAndLabels ($isCreatingNewModel, $isRequired)

Detailed Description

Form to work with currencyValue attributes

Definition at line 40 of file CurrencyValueWorkflowActionAttributeForm.php.


Member Function Documentation

rules (  ) 

Override to make sure value is a float and adding in additional attribute rules

Reimplemented from WorkflowActionAttributeForm.

Definition at line 66 of file CurrencyValueWorkflowActionAttributeForm.php.

validateCurrencyId (  ) 

Value is required based on the type. Override in children as needed to add more scenarios.

Returns:
bool

Definition at line 80 of file CurrencyValueWorkflowActionAttributeForm.php.

resolveValueAndSetToModel ( WorkflowActionProcessingModelAdapter adapter,
attribute 
)

Utilized to create or update model attribute values after a workflow's triggers are fired as true.

Parameters:
WorkflowActionProcessingModelAdapter $adapter
$attribute 
Exceptions:
NotSupportedException 

Reimplemented from WorkflowActionAttributeForm.

Definition at line 96 of file CurrencyValueWorkflowActionAttributeForm.php.

makeTypeValuesAndLabels ( isCreatingNewModel,
isRequired 
) [protected]
Parameters:
bool $isCreatingNewModel
bool $isRequired
Returns:
array

Reimplemented from WorkflowActionAttributeForm.

Definition at line 115 of file CurrencyValueWorkflowActionAttributeForm.php.


Field Documentation

const CURRENCY_ID_TYPE_STATIC = 'Static'

Defines currency id for the value as being a specific currency id. In the future additional options will be addded to use the user's currency or maybe an existing model's currency

Definition at line 51 of file CurrencyValueWorkflowActionAttributeForm.php.


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