previousI18Nv2_Locale::loadExtension (Previous) (Next) I18Nv2_Locale::setDefaultsnext

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

I18Nv2_Locale::setLocale

I18Nv2_Locale::setLocale() – ロケールを設定する

Synopsis

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::setLocale ( string $locale )

Description

I18Nv2_Locale を、指定したロケールに変換します。

Parameter

string $locale

en_US や de_DE のようなロケール。

Return value

Returns TRUE on success, PEAR_Error on failure.

指定したロケールが無効な場合は PEAR_Error を返します。

Note

This function can not be called statically.

previousI18Nv2_Locale::loadExtension (Previous) (Next) I18Nv2_Locale::setDefaultsnext

Download Documentation Last updated: Sun, 21 Jun 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.