All Data Structures Functions Variables Pages
Public Member Functions | Data Fields | Protected Member Functions
DateWorkflowActionAttributeForm Class Reference
Inheritance diagram for DateWorkflowActionAttributeForm:
DurationEnabledWorkflowActionAttributeForm WorkflowActionAttributeForm ConfigurableMetadataModel

Public Member Functions

 getValueElementType ()
 
 validateValue ()
 
 resolveValueAndSetToModel (WorkflowActionProcessingModelAdapter $adapter, $attribute)
 
 shouldSetNullAlternativeValue ()
 
 resolveNullAlternativeValueAndSetToModel (WorkflowActionProcessingModelAdapter $adapter, $attribute)
 
- Public Member Functions inherited from DurationEnabledWorkflowActionAttributeForm
 rules ()
 
 attributeLabels ()
 
 resolveNewTimeStampForDuration ($initialTimeStamp)
 
- Public Member Functions inherited from WorkflowActionAttributeForm
 getValueElementType ()
 
 __construct ($modelClassName, $modelAttributeName)
 
 getAlternateValue ()
 
 getDisplayLabel ()
 
 getStringifiedModelForValue ()
 
 setDisplayLabel ($displayLabel)
 
 getModelClassName ()
 
 getModelAttributeName ()
 
 rules ()
 
 attributeLabels ()
 
 validateValue ()
 
 getTypeValuesAndLabels ($isCreatingNewModel, $isRequired)
 
 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'
 
- Data Fields inherited from DurationEnabledWorkflowActionAttributeForm
 $durationInterval
 
 $durationSign = TimeDurationUtil::DURATION_SIGN_POSITIVE
 
 $durationType = TimeDurationUtil::DURATION_TYPE_DAY
 
- Data Fields inherited from WorkflowActionAttributeForm
const TYPE_STATIC = 'Static'
 
const TYPE_STATIC_NULL = 'StaticNull'
 
 $type
 
 $value
 
 $shouldSetValue
 

Protected Member Functions

 makeTypeValuesAndLabels ($isCreatingNewModel, $isRequired)
 
- Protected Member Functions inherited from WorkflowActionAttributeForm
 makeTypeValuesAndLabels ($isCreatingNewModel, $isRequired)
 
 resolveValueForMergeTags ($value, WorkflowActionProcessingModelAdapter $adapter)
 

Additional Inherited Members

- Static Public Member Functions inherited from WorkflowActionAttributeForm
static getFormType ()
 
static resolveValueBeforeSave ()
 
- Protected Attributes inherited from WorkflowActionAttributeForm
 $stringifiedModelForValue
 
 $modelClassName
 
 $modelAttributeName
 
 $displayLabel
 
 $shouldResolveValueForMergeTags = false
 

Detailed Description

Form to work with date attributes

Definition at line 40 of file DateWorkflowActionAttributeForm.php.

Member Function Documentation

getValueElementType ( )
Returns
string

Definition at line 49 of file DateWorkflowActionAttributeForm.php.

validateValue ( )

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

Returns
bool

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

Definition at line 84 of file DateWorkflowActionAttributeForm.php.

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

Definition at line 118 of file DateWorkflowActionAttributeForm.php.

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

Definition at line 141 of file DateWorkflowActionAttributeForm.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 21 2020 07:10:34