RelatedAttributeArrayDropDownElement Class Reference

Inheritance diagram for RelatedAttributeArrayDropDownElement:
DropDownElement Element

Protected Member Functions

 renderControlEditable ()
 renderLabel ()
 renderControlNonEditable ()
 getRelatedAttributeName ()
 getDropDownArray ()
 renderError ()

Static Protected Member Functions

static renderScripts ()

Detailed Description

Display a drop down from a related attribute that is not a model but simply an array of data.

Definition at line 42 of file RelatedAttributeArrayDropDownElement.php.


Member Function Documentation

renderControlEditable (  )  [protected]

Renders the editable dropdown content.

Returns:
A string containing the element's content.

Reimplemented from DropDownElement.

Definition at line 48 of file RelatedAttributeArrayDropDownElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 64 of file RelatedAttributeArrayDropDownElement.php.

renderControlNonEditable (  )  [protected]

Renders the noneditable dropdown content. Takes the model attribute value and converts it into the proper display value based on the corresponding dropdown display label.

Returns:
A string containing the element's content.

Reimplemented from DropDownElement.

Definition at line 73 of file RelatedAttributeArrayDropDownElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from DropDownElement.

Definition at line 109 of file RelatedAttributeArrayDropDownElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Oct 18 07:10:29 2017