You are here

static function CurrencyExchangerInterface::loadMultiple in Currency 7.2

Returns the exchange rates for multiple currency combinations.

Parameters

array $currency_codes: Keys are the ISO 4217 codes of source currencies, values are arrays that contain ISO 4217 codes of destination currencies. Example: array( 'EUR' => array('NLG', 'DEM', 'XXX'), )

Return value

array Keys are the ISO 4217 codes of source currencies, values are arrays of which the keys are ISO 4217 codes of destination currencies and values are the exchange rates as numeric strings, or FALSE for combinations of currencies for which no exchange rate could be found. Example: array( 'EUR' => array( 'NLG' => 2.20371, 'DEM' => 1.95583, 'XXX' => FALSE, ), )

3 methods override CurrencyExchangerInterface::loadMultiple()
CurrencyExchanger::loadMultiple in currency/includes/CurrencyExchanger.inc
Implements CurrencyExchangerInterface::loadMultiple().
CurrencyExchangerBartFeenstraCurrency::loadMultiple in currency/includes/CurrencyExchangerBartFeenstraCurrency.inc
Implements CurrencyExchangerInterface::loadMultiple().
CurrencyExchangerFixedRates::loadMultiple in currency/includes/CurrencyExchangerFixedRates.inc
Implements CurrencyExchangerInterface::loadMultiple().

File

currency/includes/CurrencyExchangerInterface.inc, line 47
Contains interface CurrencyExchangerInterface.

Class

CurrencyExchangerInterface
Describes a currency exchanger.

Code

static function loadMultiple(array $currency_codes);