All Data Structures Functions Variables Pages
Protected Member Functions
CurrencyValueElement Class Reference
Inheritance diagram for CurrencyValueElement:
TextElement Element CurrencyValueForSearchElement CurrencyValueForModalSearchElement

Protected Member Functions

 renderControlEditable ()
 renderEditableValueTextField ($model, $form, $inputNameIdPrefix, $attribute, $parentModel=null)
 renderControlNonEditable ()
 renderError ()
 renderLabel ()
 renderExtraEditableContent ()
 resolveParamsForCurrencyId (&$params)
 resolveAndGetEditableValue ($model, $attribute)
- Protected Member Functions inherited from TextElement
 renderControlEditable ()
 renderControlNonEditable ()
 resolveEditableHtmlOptionsInputValue (&$htmlOptions)
- 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
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}{error}</td>'
 $nonEditableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}</td>'
- Protected Attributes inherited from Element

Detailed Description

Renders currencyValue input/display and currency code information. This element is used to input currency attribute type values in the user interface on a model.

Definition at line 41 of file CurrencyValueElement.php.

Member Function Documentation

renderControlEditable ( )

Renders the editable currency attribute. Also renders a currency id selector if there is more than one currency. If there is only one currency, then show a display only currency code with a hidden input for the currency id. //todo: only showing hidden currency id

A string containing the element's content

Definition at line 49 of file CurrencyValueElement.php.

renderControlNonEditable ( )

Renders the noneditable currency content formatted into the localized format and with the currency symbol.

A string containing the element's content.

Definition at line 91 of file CurrencyValueElement.php.

renderExtraEditableContent ( )

Override as needed

Definition at line 116 of file CurrencyValueElement.php.

resolveParamsForCurrencyId ( $params)

Override as needed

Definition at line 123 of file CurrencyValueElement.php.

The documentation for this class was generated from the following file:
Generated on Sun May 31 2020 07:10:44