All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
WorkflowActionAttributeToElementAdapter Class Reference

Public Member Functions

 __construct (WorkflowActionAttributeForm $model, WizardActiveForm $form, $actionType, $inputPrefixData, $isAttributeRequired)
 
 getContent ()
 

Protected Member Functions

 isCreatingNewModel ()
 
 getAttributeContent ()
 
 resolveTypeAndValueContent ()
 
 renderShouldSetValueContent ()
 
 renderTypeContent ()
 
 renderValueContent ()
 

Protected Attributes

 $actionType
 
 $model
 
 $form
 
 $inputPrefixData
 
 $isAttributeRequired
 

Detailed Description

Helper class for adapting one of an action's attributes to a set of appropriate Elements

Definition at line 40 of file WorkflowActionAttributeToElementAdapter.php.

Constructor & Destructor Documentation

__construct ( WorkflowActionAttributeForm  $model,
WizardActiveForm  $form,
  $actionType,
  $inputPrefixData,
  $isAttributeRequired 
)
Parameters
WorkflowActionAttributeForm$model
WizardActiveForm$form
string$actionType
array$inputPrefixData
boolean$isAttributeRequired

Definition at line 74 of file WorkflowActionAttributeToElementAdapter.php.

Member Function Documentation

getContent ( )
Returns
string
Exceptions
NotSupportedExceptionif the treeType is invalid or null

Definition at line 91 of file WorkflowActionAttributeToElementAdapter.php.

isCreatingNewModel ( )
protected

Several attributes have different options available if creating vs. updating an existing model. User is an example where the options vary based on create vs. update.

Returns
bool

Definition at line 104 of file WorkflowActionAttributeToElementAdapter.php.

getAttributeContent ( )
protected
Returns
string
Exceptions
NotSupportedExceptionif the valueElementType is null

Definition at line 126 of file WorkflowActionAttributeToElementAdapter.php.

resolveTypeAndValueContent ( )
protected
Returns
string

Definition at line 139 of file WorkflowActionAttributeToElementAdapter.php.

renderShouldSetValueContent ( )
protected
Returns
string

Definition at line 161 of file WorkflowActionAttributeToElementAdapter.php.

renderTypeContent ( )
protected
Returns
A|string

Definition at line 177 of file WorkflowActionAttributeToElementAdapter.php.

renderValueContent ( )
protected
Returns
string
Exceptions
NotSupportedException

Definition at line 205 of file WorkflowActionAttributeToElementAdapter.php.


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