Initialize and set locale for SSO
| package | sso\lib |
|---|
availables() : array<mixed,string>
array<mixed,string>locale => locale textinit()
set(string $locale) : boolean
stringlocale to set
booleanTRUE if cookie is set, FALSE otherwise.normalizeLocale(string $locale) : string
stringlocale to normalize
stringnormalized locale, with only [a-z0-9_]retrieveLocales() : array<mixed,string>
array<mixed,string>List of locale, by preference order$AVAILABLE_LOCALES : array<mixed,string>
NULLCOOKIE_NAME = 'sso_locale'
SSO_CURRENT_LOCALE = 'sso\SSO_CURRENT_LOCALE'