I18Nv2_Locale::setCurrencyFormat()

I18Nv2_Locale::setCurrencyFormat()  -- Set currency format

Synopsis

require_once 'I18Nv2/Locale.php';

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

Описание

Set the currency format to use.

Either I18Nv2_CURRENCY_LOCAL, I18Nv2_CURRENCY_INTERNATIONAL or a custom currency format.

Параметр

integer $format

a I18Nv2_CURRENCY constant

boolean $custom

whether to use a defined custom format

Возвращаемое значение

Возвращает TRUE при удаче и PEAR_Error в обратном случае.

Заметка

Эта функция не должна вызываться статически.