◆ load()
static load |
( |
|
$name, |
|
|
|
$domain = '' , |
|
|
|
$language = null |
|
) |
| |
|
static |
load - load a language file
- Paramètres
-
string | $name | name of the language file |
string | $domain | domain or module supplying language file |
string | $language | language folder name |
- Renvoie
- bool true if loaded, otherwise false
◆ loadFile()
static loadFile |
( |
|
$filename | ) |
|
|
staticprotected |
Load a file
- Paramètres
-
string | $filename | filename to load |
- Renvoie
- bool true if file exists and was loaded
- Exceptions
-
◆ translate()
static translate |
( |
|
$string, |
|
|
|
$domain = null |
|
) |
| |
|
static |
Attempt a translation of a simple string
- Paramètres
-
string | $string | string to translate |
string | $domain | language domain |
- Renvoie
- string translated string
- A faire:
- do something useful
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/xoops/xmf/src/Language.php