Function __global->require_lang_compile
Definitions
sources/lang_compile.php
- Load up a language file, compiling it (it's not cached yet).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$codename | ID_TEXT | required parameter | N/A | N/A | The language file name |
$lang | ?LANGUAGE_NAME | required parameter | N/A | N/A | The language (null: uses the current language) |
$type | ?string | required parameter | N/A | N/A | The language type (lang_custom, or custom) (null: normal priorities are used) |
$cache_path | PATH | required parameter | N/A | N/A | Where we are caching too |
$ignore_errors | boolean | False | N/A | N/A | Whether to just return if there was a loading error |
Return
- Whether we FAILED to load
- Type: boolean
- Set: N/A
- Range: N/A