All Data Structures Functions Variables Pages
Protected Member Functions
MixedAttributeTypesForWorkflowActionAttributeElement Class Reference
Inheritance diagram for MixedAttributeTypesForWorkflowActionAttributeElement:
Element MixedDateTimeTypesForWorkflowActionAttributeElement MixedDateTypesForWorkflowActionAttributeElement MixedDropDownTypesForWorkflowActionAttributeElement

Protected Member Functions

 renderEditableFirstValueContent ()
 
 renderEditableSecondValueContent ()
 
 renderControlEditable ()
 
 shouldDisableSecondValueInputs ()
 
 getHtmlOptionsForFirstValue ()
 
 getHtmlOptionsForSecondValue ()
 
 renderControlNonEditable ()
 
 renderLabel ()
 
 getActionAttributeType ()
 
 renderError ()
 
 getFirstValueEditableInputId ()
 
 getSecondValueEditableInputId ()
 
 getFirstValueEditableInputName ()
 
 getSecondValueEditableInputName ()
 
- Protected Member Functions inherited from Element
 renderLabel ()
 
 resolveIdForLabel ()
 
 getFormattedAttributeLabel ()
 
 resolveNonActiveFormFormattedLabel ($label)
 
 renderError ()
 
 renderScopedErrorId ($inputNameIdPrefix, $attribute)
 
 renderEditable ()
 
 renderNonEditable ()
 
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 getColumnSpan ()
 
 getDisabledValue ()
 
 getHtmlOptions ()
 
 resolveContentTemplate ($template, $data)
 
 getEditableInputId ($attributeName=null, $relationAttributeName=null)
 
 getEditableInputName ($attributeName=null, $relationAttributeName=null)
 
 resolveInputPrefix ()
 
 resolveInputIdPrefix ()
 
 resolveInputNamePrefix ()
 
 getListViewGridId ()
 

Additional Inherited Members

- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 
 render ()
 
 getEditableNameIds ()
 
 getAttribute ()
 
 renderAsControlNonEditable ()
 
- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 
- Data Fields inherited from Element
 $params
 
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}{error}</td>'
 
 $nonEditableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}</td>'
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

Detailed Description

base class for displaying a combination of inputs for an attribute row in a workflow action. An example is a date attribute where you can specifically set the date or can choose a dynamic value from a drop down.

Definition at line 41 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

Member Function Documentation

renderControlEditable ( )
protected
Returns
The element's content as a string.

Definition at line 50 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

shouldDisableSecondValueInputs ( )
protected
Returns
bool

Definition at line 78 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

getHtmlOptionsForFirstValue ( )
protected
Returns
array

Definition at line 91 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

getHtmlOptionsForSecondValue ( )
protected
Returns
array

Definition at line 107 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

renderControlNonEditable ( )
protected

Renders the attribute from the model.

Returns
The element's content.
Exceptions
NotSupportedException

Definition at line 125 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

renderLabel ( )
protected
Returns
A|string

Definition at line 133 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

getActionAttributeType ( )
protected
Returns
mixed

Definition at line 146 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

renderError ( )
protected

Render during the Editable render (non-PHPdoc)

See Also
Element::renderError()

Definition at line 156 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

getFirstValueEditableInputId ( )
protected
Returns
string

Definition at line 163 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

getSecondValueEditableInputId ( )
protected
Returns
string The value of 'alternateValue' ensures the ids of the inputs remain different

Definition at line 171 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

getFirstValueEditableInputName ( )
protected
Returns
string the name is still 'value' because the first and second inputs are used alternatively. One is disabled while the other is not and vice versa.

Definition at line 180 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.

getSecondValueEditableInputName ( )
protected
Returns
string

Definition at line 188 of file MixedAttributeTypesForWorkflowActionAttributeElement.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:37