Piwik\Site::getCurrencyList PHP Method

getCurrencyList() public static method

Returns the list of all known currency symbols.
See also: Piwik\Intl\Data\Provider\CurrencyDataProvider::getCurrencyList()
Deprecation: Use Piwik\Intl\Data\Provider\CurrencyDataProvider instead.
public static getCurrencyList ( ) : array
return array An array mapping currency codes to their respective currency symbols and a description, eg, `array('USD' => array('$', 'US dollar'))`.
    public static function getCurrencyList()
    {
        /** @var CurrencyDataProvider $dataProvider */
        $dataProvider = StaticContainer::get('Piwik\\Intl\\Data\\Provider\\CurrencyDataProvider');
        return $dataProvider->getCurrencyList();
    }

Usage Example

Example #1
0
 public static function getCurrencyList()
 {
     return Site::getCurrencyList();
 }
All Usage Examples Of Piwik\Site::getCurrencyList