function currency_currency_info in Currency 7.2
Implements hook_currency_info().
File
- currency/
currency.currency.inc, line 11 - Currency hook implementations.
Code
function currency_currency_info() {
$currencies = array();
foreach (Currency::resourceListAll() as $currency_code) {
$currency = new Currency();
$currency
->resourceLoad($currency_code);
$currencies[$currency->ISO4217Code] = $currency;
}
return $currencies;
}