Class Zend_View_Helper_Currency

Description

Currency view helper

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /View/Helper/Currency.php (line 34)

Zend_View_Helper_Abstract
   |
   --Zend_View_Helper_Currency
Variable Summary
Method Summary
 void __construct ([Zend_Currency $currency = null])
 string currency ([integer|float $value = null], [string|Zend_Locale|Zend_Currency $currency = null])
Variables
Zend_Currency $_currency (line 41)

Currency object

  • access: protected

Inherited Variables

Inherited from Zend_View_Helper_Abstract

Zend_View_Helper_Abstract::$view
Methods
Constructor __construct (line 49)

Constructor for manually handling

  • access: public
void __construct ([Zend_Currency $currency = null])
currency (line 68)

Output a formatted currency

  • return: Formatted currency
  • access: public
string currency ([integer|float $value = null], [string|Zend_Locale|Zend_Currency $currency = null])
  • integer|float $value: Currency value to output
  • string|Zend_Locale|Zend_Currency $currency: OPTIONAL Currency to use for this call
getCurrency (line 115)

Retrieve currency object

  • access: public
Zend_Currency|null getCurrency ()
setCurrency (line 99)

Sets a currency to use

  • throws: Zend_View_Exception When no or a false currency was set
  • access: public
Zend_View_Helper_Currency setCurrency ([Zend_Currency|String|Zend_Locale $currency = null])

Inherited Methods

Inherited From Zend_View_Helper_Abstract

 Zend_View_Helper_Abstract::direct()
 Zend_View_Helper_Abstract::setView()

Documentation generated on Mon, 21 Jun 2010 15:15:01 -0400 by phpDocumentor 1.4.3