$currency
$currency :
The default currency to use, if none is specified in the translate() method.
Currency database, and formatting.
$currencies :
The database of known currencies.
An associative array, where the key is the ISO symbol of the currency, and the value is an associative array with at least a 'sign' and 'pos' key. The 'sign' key marks the symbol to use for the currency, and the 'pos' can be one of 'left', 'right' or 'infix'.
__construct(array $currencies, array $opts = array())
Build a new Currency object.
| array | $currencies | The currency database. |
| array | $opts | Optional parameters, see below. 'currency' The default currency to use, if none is specified. 'encode' Whether we should encode UTF-8 into NCR. |