I18Nv2_Locale::setCustomFormat()
I18Nv2_Locale::setCustomFormat()
-- Set custom format
概要
require_once 'I18Nv2/Locale.php'; |
void I18Nv2_Locale::setCustomFormat ([mixed $type = NULL [, mixed $format = NULL]])
説明
Set a custom format.
If $format is omitted, the custom format for
$type will be dsicarded - if both vars are
omitted all custom formats will be discarded.
パラメータ
- mixed
$type the I18Nv2 format category for which to set the custom format
- mixed
$format the custom format
返り値
成功時には TRUE、
失敗時には PEAR_Error を返します。
注意
この関数は、スタティックにコールする
ことはできません。