Currency view helper
category | Zend |
---|---|
package | Zend_View |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_View_Helper_Abstract |
__construct(\Zend_Currency $currency = null
) : void
\Zend_Currency
Instance of Zend_Currency
currency(integer|float $value= null
, string|\Zend_Locale|array $currency= null
) : string
integer
float
Currency value to output
string
\Zend_Locale
array
OPTIONAL Currency to use for this call
string
Formatted currencydirect() : void
inherited_from | \Zend_View_Helper_Interface::direct() |
---|
getCurrency() : \Zend_Currency | null
\Zend_Currency
null
setCurrency(\Zend_Currency|String|\Zend_Locale $currency = null
) : \Zend_View_Helper_Currency
\Zend_Currency
String
\Zend_Locale
Currency to use
\Zend_View_Exception |
When no or a false currency was set |
---|
\Zend_View_Helper_Currency
setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
inherited_from | \Zend_View_Helper_Interface::setView() |
---|
\Zend_View_Interface
\Zend_View_Helper_Abstract
$view : \Zend_View_Interface
null
$_currency : \Zend_Currency