DateWorkflowActionAttributeForm Class Reference

Inheritance diagram for DateWorkflowActionAttributeForm:
DurationEnabledWorkflowActionAttributeForm WorkflowActionAttributeForm ConfigurableMetadataModel

Public Member Functions

 getValueElementType ()
 validateValue ()
 resolveValueAndSetToModel (WorkflowActionProcessingModelAdapter $adapter, $attribute)
 shouldSetNullAlternativeValue ()
 resolveNullAlternativeValueAndSetToModel (WorkflowActionProcessingModelAdapter $adapter, $attribute)

Data Fields

const TYPE_DYNAMIC_FROM_TRIGGERED_DATE = 'DynamicFromTriggeredDate'
const TYPE_DYNAMIC_FROM_EXISTING_DATE = 'DynamicFromExistingDate'

Protected Member Functions

 makeTypeValuesAndLabels ($isCreatingNewModel, $isRequired)

Detailed Description

Form to work with date attributes

Definition at line 40 of file DateWorkflowActionAttributeForm.php.


Member Function Documentation

getValueElementType (  ) 
Returns:
string

Reimplemented from WorkflowActionAttributeForm.

Definition at line 49 of file DateWorkflowActionAttributeForm.php.

validateValue (  ) 

Value can either be date or if dynamic, then it is an integer

Returns:
bool

Reimplemented from WorkflowActionAttributeForm.

Definition at line 58 of file DateWorkflowActionAttributeForm.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 84 of file DateWorkflowActionAttributeForm.php.

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

Reimplemented from WorkflowActionAttributeForm.

Definition at line 118 of file DateWorkflowActionAttributeForm.php.

resolveNullAlternativeValueAndSetToModel ( WorkflowActionProcessingModelAdapter adapter,
attribute 
)
Parameters:
WorkflowActionProcessingModelAdapter $adapter
$attribute 

Reimplemented from WorkflowActionAttributeForm.

Definition at line 141 of file DateWorkflowActionAttributeForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Nov 24 07:10:24 2017