79 lines
570 B
Markdown
79 lines
570 B
Markdown
SYSTEM\locale
|
|
===============
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Class name: locale
|
|
* Namespace: SYSTEM
|
|
|
|
|
|
|
|
Constants
|
|
----------
|
|
|
|
|
|
### SESSION_KEY
|
|
|
|
const SESSION_KEY = 'locale'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
|
|
-------
|
|
|
|
|
|
### set
|
|
|
|
mixed SYSTEM\locale::set($lang)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $lang **mixed**
|
|
|
|
|
|
|
|
### get
|
|
|
|
mixed SYSTEM\locale::get()
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
|
|
|
|
### isLang
|
|
|
|
mixed SYSTEM\locale::isLang($lang)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $lang **mixed**
|
|
|
|
|