previousI18Nv2_Locale::setCustomFormat (Previous) (Next) I18Nv2_Locale::setDateFormatnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

I18Nv2_Locale::setCurrencyFormat

I18Nv2_Locale::setCurrencyFormat() – Set currency format

Synopsis

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::setCurrencyFormat ( int $format , bool $custom = false )

Description

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 value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

previousI18Nv2_Locale::setCustomFormat (Previous) (Next) I18Nv2_Locale::setDateFormatnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.