Class Mage_Directory_Model_Currency
Currency model
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Directory_Model_Currency
Package: Mage\Directory
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Directory/Model/Currency.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Directory/Model/Currency.php
protected
|
|
public
string
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
float
|
|
public
float
|
|
public
float
|
|
public
|
|
public
string
|
|
public
string
|
#
formatPrecision( float $price, integer $precision, array $options = array(), boolean $includeContainer = true, boolean $addBrackets = false )
Apply currency format to number with specific rounding precision |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
#
getCurrencyRates( string $currency, array $toCurrencies = null )
Retrieve currency rates to other currencies |
public
object
|
string |
XML_PATH_CURRENCY_ALLOW
|
'currency/options/allow' |
#
CONFIG path constants |
string |
XML_PATH_CURRENCY_DEFAULT
|
'currency/options/default' |
|
string |
XML_PATH_CURRENCY_BASE
|
'currency/options/base' |
protected
mixed
|
$_filter |
|
|
protected
array
|
$_rates |
|
#
Currency Rates |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|