get_lang_file_map (line 184)
Get an array of all the INI language entries in the specified language.
array
get_lang_file_map
(LANGUAGE_NAME $lang, ID_TEXT $file, [boolean $non_custom = false])
-
LANGUAGE_NAME
$lang: The language
-
ID_TEXT
$file: The language file
-
boolean
$non_custom: Force usage of original file
init__lang_compile (line 24)
Standard code module initialisation function.
void
init__lang_compile
()
require_lang_compile (line 40)
Load up a language file, compiling it (it's not cached yet).
boolean
require_lang_compile
(ID_TEXT $codename, ?LANGUAGE_NAME $lang, ?string $type, PATH $cache_path)
-
ID_TEXT
$codename: The language file name
-
?LANGUAGE_NAME
$lang: The language (NULL: uses the current language)
-
?string
$type: The language type (lang_custom, or custom) (NULL: normal priorities are used)
-
PATH
$cache_path: Where we are cacheing too
_get_lang_file_map (line 227)
Extend a language map from strings in a given language file.
void
_get_lang_file_map
(PATH $b, array &$entries, [?boolean $descriptions = NULL], [boolean $given_whole_file = false])
-
PATH
$b: The path to the language file
-
array
&$entries: The currently loaded language map
-
?boolean
$descriptions: Whether to get descriptions rather than strings (NULL: no, but we might pick up some descriptions accidently)
-
boolean
$given_whole_file: Whether $b is infact not a path, but the actual file contents