All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
CurrencyIdForAModelsRelatedCurrencyValueDropDownElement Class Reference
Inheritance diagram for CurrencyIdForAModelsRelatedCurrencyValueDropDownElement:
DropDownElement Element

Public Member Functions

 getIdForSelectInput ()
 
- Public Member Functions inherited from DropDownElement
 getIdForSelectInput ()
 
 getEditableNameIds ()
 
- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 
 render ()
 
 getEditableNameIds ()
 
 getAttribute ()
 
 renderAsControlNonEditable ()
 

Protected Member Functions

 renderControlEditable ()
 
 getNameForSelectInput ()
 
 getDropDownArray ()
 
 renderError ()
 
 resolveHtmlOptions ()
 
- Protected Member Functions inherited from DropDownElement
 renderControlEditable ()
 
 resolveIdForLabel ()
 
 renderControlNonEditable ()
 
 convertDropDownModelsToArrayByIdName ($dropDownModels)
 
 getAddBlank ()
 
 getNameForSelectInput ()
 
 getEditableHtmlOptions ()
 
 getDropDownArray ()
 
 renderError ()
 
- 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

- 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

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.

Definition at line 47 of file CurrencyIdForAModelsRelatedCurrencyValueDropDownElement.php.

getDropDownArray ( )
protected

(non-PHPdoc)

See Also
DropDownElement::getDropDownArray()

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

Definition at line 97 of file CurrencyIdForAModelsRelatedCurrencyValueDropDownElement.php.


The documentation for this class was generated from the following file:
Generated on Mon Jun 1 2020 07:10:44