Function __global->get_lang_files
Definitions
sources/lang2.php
- Get a list of languages files for the given language. ONLY those that are overridden.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $lang | ?LANGUAGE_NAME | No | No | Null | N/A | N/A | The language (null: uses the current language) |
Returns
- The language files (a map between language file name -and- lang or lang_custom)
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a list of languages files for the given language. ONLY those that are overridden.
*
* @param ?LANGUAGE_NAME $lang The language (null: uses the current language)
* @return array The language files (a map between language file name -and- lang or lang_custom)
*/
function get_lang_files(?string $lang = null) : array
* Get a list of languages files for the given language. ONLY those that are overridden.
*
* @param ?LANGUAGE_NAME $lang The language (null: uses the current language)
* @return array The language files (a map between language file name -and- lang or lang_custom)
*/
function get_lang_files(?string $lang = null) : array

