Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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)

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

Reimplemented from TextElement.

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.

Reimplemented from TextElement.

Definition at line 91 of file CurrencyValueElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from Element.

Definition at line 99 of file CurrencyValueElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 103 of file CurrencyValueElement.php.

renderExtraEditableContent (  )  [protected]

Override as needed

Reimplemented in CurrencyValueForModalSearchElement, and CurrencyValueForSearchElement.

Definition at line 116 of file CurrencyValueElement.php.

resolveParamsForCurrencyId ( &$  params  )  [protected]

Override as needed

Reimplemented in CurrencyValueForModalSearchElement, and CurrencyValueForSearchElement.

Definition at line 123 of file CurrencyValueElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:49 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8