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

Public Member Functions

 rules ()
 
 getValueElementType ()
 
 validateValue ()
 
 shouldSetNullAlternativeValue ()
 
 resolveNullAlternativeValueAndSetToModel (WorkflowActionProcessingModelAdapter $adapter, $attribute)
 
- 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 boolean attributes

Definition at line 40 of file CheckBoxWorkflowActionAttributeForm.php.

Member Function Documentation

rules ( )

Override to make sure the value attribute is set as a boolean value

Definition at line 45 of file CheckBoxWorkflowActionAttributeForm.php.

validateValue ( )

Value can only be true or false

Returns
bool

Definition at line 59 of file CheckBoxWorkflowActionAttributeForm.php.

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

Definition at line 73 of file CheckBoxWorkflowActionAttributeForm.php.

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

Definition at line 91 of file CheckBoxWorkflowActionAttributeForm.php.


The documentation for this class was generated from the following file:
Generated on Thu Apr 2 2020 07:10:52