Function __global->_comcode_lang_string

Definitions

sources/lang3.php

  • Convert a language string that is Comcode to Tempcode, with potential caching in the db.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$lang_code ID_TEXT No No required parameter N/A N/A The language string codename

Returns

  • The parsed Comcode
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert a language string that is Comcode to Tempcode, with potential caching in the db.
 *
 * @param  ID_TEXT $lang_code The language string codename
 * @return Tempcode The parsed Comcode
 */

function _comcode_lang_string(string $lang_code) : object