Function __global->lookup_language_full_name

Definitions

sources/lang2.php

  • Get the full name of a language. e.g. 'EN' would become 'English'.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$code LANGUAGE_NAME No No required parameter N/A N/A The language

Returns

  • The full name of the language
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the full name of a language. e.g. 'EN' would become 'English'.
 *
 * @param  LANGUAGE_NAME $code The language
 * @return string The full name of the language
 */

function lookup_language_full_name(string $code) : string