Function __global->require_all_lang
Definitions
sources/lang.php
- Include all the language files for use in the script.NOTE: This may reduce performance, so you should only use it if you really have to.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$lang | ?LANGUAGE_NAME | Null | N/A | N/A | The language to include files from (null: use current user's language) |
$only_if_for_lang | boolean | False | N/A | N/A | Only load it up if it is specifically defined for our language |