LSYii_Locale
extends CLocale
in package
Table of Contents
Methods
- getInstance() : Clocale
- Converts a locale ID to its canonical form.
Methods
getInstance()
Converts a locale ID to its canonical form.
public
static getInstance(string $id) : Clocale
In canonical form, a locale ID consists of only underscores and lower-case letters.
Parameters
- $id : string
-
the locale ID to be converted
Return values
Clocale —The locale ID in canonical form