|
| __construct () |
|
| load ($langfile= '', $idiom= '', $return=FALSE, $add_suffix=TRUE, $alt_path= '') |
|
| line ($line= '') |
|
|
| $language = array() |
|
| $is_loaded = array() |
|
Fetch a single line of text from the language array
public
- Parameters
-
string | $line | the language line |
- Returns
- string
load |
( |
|
$langfile = '' , |
|
|
|
$idiom = '' , |
|
|
|
$return = FALSE , |
|
|
|
$add_suffix = TRUE , |
|
|
|
$alt_path = '' |
|
) |
| |
Load a language file
public
- Parameters
-
mixed | the name of the language file to be loaded. Can be an array |
string | the language (english, etc.) |
bool | return loaded array of translations |
bool | add suffix to $langfile |
string | alternative path to look for language file |
- Returns
- mixed
The documentation for this class was generated from the following file: