I18Nv2_Locale::setCurrencyFormat()

I18Nv2_Locale::setCurrencyFormat()  -- Set currency format

Referentiesamenvatting

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::setCurrencyFormat (int $format [, bool $custom = FALSE])

Beschrijving

Set the currency format to use.

Either I18Nv2_CURRENCY_LOCAL, I18Nv2_CURRENCY_INTERNATIONAL or a custom currency format.

Parameter

integer $format

a I18Nv2_CURRENCY constant

boolean $custom

whether to use a defined custom format

Return waarde

Geeft TRUE terug bij success, PEAR_Error als het faalt.

Note

Deze functie kan niet statisch worden aangeroepen.