You are here

static function CurrencyExchangerInterface::load in Currency 7.2

Returns the exchange rate for two currencies.

Parameters

string $currency_code_from:

string $currency_code_to:

Return value

string|false A numeric string if the rate could be found, FALSE if it couldn't.

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

File

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

Class

CurrencyExchangerInterface
Describes a currency exchanger.

Code

static function load($currency_code_from, $currency_code_to);