LSYii_Locale

Extends \CLocale

Methods

Converts a locale ID to its canonical form.

getInstance(string $id) : string
static

In canonical form, a locale ID consists of only underscores and lower-case letters.

Arguments

$id

string

the locale ID to be converted

Response

string

the locale ID in canonical form