previousI18Nv2_Locale::setDefaults (Previous) (Next) I18Nv2_Locale::setCurrencyFormatnext

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::setCustomFormat

I18Nv2_Locale::setCustomFormat() – Set custom format

Synopsis

require_once 'I18Nv2/Locale.php';

void I18Nv2_Locale::setCustomFormat ( mixed $type = null , mixed $format = null )

Description

Set a custom format.

If $format is omitted, the custom format for $type will be discarded - if both vars are omitted all custom formats will be discarded.

Parameter

mixed $type

the I18Nv2 format category for which to set the custom format

mixed $format

the custom format

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

previousI18Nv2_Locale::setDefaults (Previous) (Next) I18Nv2_Locale::setCurrencyFormatnext

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.