CheckBoxWorkflowActionAttributeForm Class Reference

Inheritance diagram for CheckBoxWorkflowActionAttributeForm:
WorkflowActionAttributeForm ConfigurableMetadataModel

Public Member Functions

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

Protected Member Functions

 makeTypeValuesAndLabels ($isCreatingNewModel, $isRequired)

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

Reimplemented from WorkflowActionAttributeForm.

Definition at line 45 of file CheckBoxWorkflowActionAttributeForm.php.

validateValue (  ) 

Value can only be true or false

Returns:
bool

Reimplemented from WorkflowActionAttributeForm.

Definition at line 59 of file CheckBoxWorkflowActionAttributeForm.php.

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

Reimplemented from WorkflowActionAttributeForm.

Definition at line 73 of file CheckBoxWorkflowActionAttributeForm.php.

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

Reimplemented from WorkflowActionAttributeForm.

Definition at line 91 of file CheckBoxWorkflowActionAttributeForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jul 25 07:10:23 2017