|
static | translate ($string, $domain=null) |
|
static | load ($name, $domain='', $language=null) |
|
◆ load()
static load |
( |
|
$name, |
|
|
|
$domain = '' , |
|
|
|
$language = null |
|
) |
| |
|
static |
load - load a language file
- Parameters
-
string | $name | name of the language file |
string | $domain | domain or module supplying language file |
string | $language | language folder name |
- Returns
- bool true if loaded, otherwise false
◆ loadFile()
static loadFile |
( |
|
$filename | ) |
|
|
staticprotected |
Load a file
- Parameters
-
string | $filename | filename to load |
- Returns
- bool true if file exists and was loaded
- Exceptions
-
InvalidArgumentException
◆ translate()
static translate |
( |
|
$string, |
|
|
|
$domain = null |
|
) |
| |
|
static |
Attempt a translation of a simple string
- Parameters
-
string | $string | string to translate |
string | $domain | language domain |
- Returns
- string translated string
- Todo:
- do something useful
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/class/libraries/vendor/xoops/xmf/src/Language.php