Function __global->_do_lang

Definitions

sources/lang.php

  • Helper for do_lang.See do_lang for more documentation.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$codename ID_TEXT required parameter N/A N/A The language string codename
$parameter1 ?mixed Null N/A N/A The first parameter [string or Tempcode] (replaces {1}) (null: none, and ignore all other parameters)
$parameter2 ?mixed Null N/A N/A The second parameter [string or Tempcode] (replaces {2}) (null: none, and ignore $parameter3)
$parameter3 ?mixed Null N/A N/A The third parameter (replaces {3}). May be an array of [of string or Tempcode], to allow any number of additional args (null: none)
$lang ?LANGUAGE_NAME Null N/A N/A The language to use (null: user's language)
$require_result boolean True N/A N/A Whether to cause the software to exit if the lookup does not succeed

Return

  • The human-readable content (null: not found). The same type as $parameter1.
  • Type: ?mixed
  • Set: N/A
  • Range: N/A