Свойство | Тип | Описание | |
---|---|---|---|
$adapter | Framework adapter | ||
$configuration | Config container | ||
$fileSystem | File system helper |
Метод | Описание | |
---|---|---|
__toString ( ) : mixed | Return the current locale | |
getDomain ( ) : String | Returns the current domain | |
getEncoding ( ) : mixed | Gets the Current encoding. | |
getLocale ( ) : String | Returns the current locale string identifier | |
isLocaleSupported ( $locale ) : boolean | Returns a boolean that indicates if $locale is supported by configuration | |
setDomain ( String $domain ) : self | Sets the current domain and updates gettext domain application | |
setEncoding ( mixed $encoding ) : self | Sets the Current encoding. | |
setLocale ( $locale ) : |
Sets and stores on session the current locale code | |
supportedLocales ( ) : array | Returns supported locales |
Метод | Описание | |
---|---|---|
sessionGet ( $key, null $default = null ) : mixed | Return a value from session with an optional default | |
sessionSet ( $key, $value ) : mixed | Sets a value in session session |
public __toString ( ) : mixed | ||
Результат | mixed |
public getDomain ( ) : String | ||
Результат | String |
public getEncoding ( ) : mixed | ||
Результат | mixed |
public getLocale ( ) : String | ||
Результат | String |
public isLocaleSupported ( $locale ) : boolean | ||
Результат | boolean |
protected sessionGet ( $key, null $default = null ) : mixed | ||
$key | ||
$default | null | |
Результат | mixed |
protected sessionSet ( $key, $value ) : mixed | ||
$key | ||
$value | ||
Результат | mixed |
public setDomain ( String $domain ) : self | ||
$domain | String | |
Результат | self |
public setEncoding ( mixed $encoding ) : self | ||
$encoding | mixed | the encoding |
Результат | self |
public setLocale ( $locale ) : |
||
Результат |
public supportedLocales ( ) : array | ||
Результат | array |