I18Nv2_Locale::setLocale()

I18Nv2_Locale::setLocale()  -- Set locale

Referentiesamenvatting

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::setLocale (string $locale)

Beschrijving

Transforms the I18Nv2_Locale object to the specified locale.

Parameter

string $locale

the locale like en_US or de_DE

Return waarde

Geeft TRUE terug bij success, PEAR_Error als het faalt.

Returns a PEAR_Error if the supplied locale was invalid.

Note

Deze functie kan niet statisch worden aangeroepen.