country_to_currency (line 40)
Convert a country code to a currency code.
ID_TEXT
country_to_currency
(ID_TEXT $country)
-
ID_TEXT
$country: The country code.
currency_convert (line 64)
Perform a currency conversion.
?mixed
currency_convert
(mixed $amount, ID_TEXT $from_currency, [?ID_TEXT $to_currency = NULL], [boolean $string = false])
-
mixed
$amount: The starting amount (integer or float).
-
ID_TEXT
$from_currency: The start currency code.
-
?ID_TEXT
$to_currency: The end currency code (NULL: unknown, guess it).
-
boolean
$string: Whether to get as a string.
get_currency_map (line 172)
Get the currency map.
array
get_currency_map
()
ip_to_currency (line 27)
Convert an IP address to a currency code.
ID_TEXT
ip_to_currency
([?IP $ip = NULL])
-
?IP
$ip: IP address (NULL: that of current member).