Function __global->get_lang_file_map

Definitions

sources/lang_compile.php

  • Get an array of all the INI language entries in the specified language.
  • 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 required parameter N/A N/A The language
$file ID_TEXT No No required parameter N/A N/A The language file
$non_custom boolean No No False N/A N/A Force usage of original file
$apply_filter boolean No No True N/A N/A Apply the language pack filter

Returns

  • The language entries
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get an array of all the INI language entries in the specified language.
 *
 * @param  LANGUAGE_NAME $lang The language
 * @param  ID_TEXT $file The language file
 * @param  boolean $non_custom Force usage of original file
 * @param  boolean $apply_filter Apply the language pack filter
 * @return array The language entries
 */

function get_lang_file_map(string $lang, string $file, bool $non_custom = false, bool $apply_filter = true) : array