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

Public Member Functions

 rules ()
 
 getValueElementType ()
 
 validateValue ()
 
- 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)
 

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 ()
 
- Data Fields inherited from WorkflowActionAttributeForm
const TYPE_STATIC = 'Static'
 
const TYPE_STATIC_NULL = 'StaticNull'
 
 $type
 
 $value
 
 $shouldSetValue
 
- Protected Attributes inherited from WorkflowActionAttributeForm
 $stringifiedModelForValue
 
 $modelClassName
 
 $modelAttributeName
 
 $displayLabel
 
 $shouldResolveValueForMergeTags = false
 

Detailed Description

Form to work with integer attributes

Definition at line 40 of file IntegerWorkflowActionAttributeForm.php.

Member Function Documentation

rules ( )

Override to make sure the value attribute is set as an integer value

Definition at line 45 of file IntegerWorkflowActionAttributeForm.php.

getValueElementType ( )
Returns
string

Definition at line 53 of file IntegerWorkflowActionAttributeForm.php.

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

Definition at line 63 of file IntegerWorkflowActionAttributeForm.php.

validateValue ( )

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

Returns
bool

Definition at line 77 of file IntegerWorkflowActionAttributeForm.php.


The documentation for this class was generated from the following file:
Generated on Sat Jun 6 2020 07:10:51