CurrencyIdForAModelsRelatedCurrencyValueDropDownElement Class Reference

Inheritance diagram for CurrencyIdForAModelsRelatedCurrencyValueDropDownElement:
DropDownElement Element

Public Member Functions

 getIdForSelectInput ()

Protected Member Functions

 renderControlEditable ()
 getNameForSelectInput ()
 getDropDownArray ()
 renderError ()
 resolveHtmlOptions ()

Detailed Description

Display active currencies from the currency model. This is specifically used when the user interface has a currency attribute that requires a dropdown to select the currency to enter the value in.

Definition at line 41 of file CurrencyIdForAModelsRelatedCurrencyValueDropDownElement.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 47 of file CurrencyIdForAModelsRelatedCurrencyValueDropDownElement.php.

getDropDownArray (  )  [protected]

(non-PHPdoc)

See also:
DropDownElement::getDropDownArray()

Reimplemented from DropDownElement.

Definition at line 81 of file CurrencyIdForAModelsRelatedCurrencyValueDropDownElement.php.

renderError (  )  [protected]

Override to properly handle scoping the error id for the currency id. Without this method, the currency_id would not be appending to the error id and then a validation error would never render correctly from the yiiactiveform.

Returns:
string error

Reimplemented from DropDownElement.

Definition at line 97 of file CurrencyIdForAModelsRelatedCurrencyValueDropDownElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:23 2017