Detailed Description
Definition at line 22 of file LanguageTool.php.
Member Function Documentation
| static _loadLangINIFile |
( |
| ) |
|
|
static |
| static addRealm |
( |
|
$name, |
|
|
|
$dictionary = null |
|
) |
| |
|
static |
| static& getInstance |
( |
|
$lang = null | ) |
|
|
static |
| static getLanguageSelectorHTML |
( |
|
$params = array() | ) |
|
|
static |
Returns the HTML for a language selector. This can be a list of flags, or names of languages, or a select list of names of languages.
- Parameters
-
| $params | An associative array of parameters for this method. Keys: name : The name of the select widget or id of the ul (if unordered list) var : The GET variable that will be set by selecting one of these languages. selected : The code of the language that is considered to be currently selected. autosubmit : Whether the select list should auto submit type : 'select' or 'ul' lang : language code override use_flags : default true. |
Definition at line 90 of file LanguageTool.php.
| static loadRealm |
( |
|
$name | ) |
|
|
static |
Like addRealm except that it only adds the realm if the realm isn't already loaded.
Definition at line 47 of file LanguageTool.php.
| static removeRealm |
( |
|
$name | ) |
|
|
static |
| static translate |
( |
|
$__translation_id, |
|
|
|
$__defaultText = null, |
|
|
|
$params = array(), |
|
|
|
$lang = null |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: