Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 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
 $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

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 ( )
protected

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

Returns
A string containing the element's content

Definition at line 49 of file CurrencyValueElement.php.

renderControlNonEditable ( )
protected

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

Returns
A string containing the element's content.

Definition at line 91 of file CurrencyValueElement.php.

renderExtraEditableContent ( )
protected

Override as needed

Definition at line 116 of file CurrencyValueElement.php.

resolveParamsForCurrencyId ( $params)
protected

Override as needed

Definition at line 123 of file CurrencyValueElement.php.


The documentation for this class was generated from the following file:
Generated on Sat Nov 28 2020 07:10:55
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.