Function __global->find_lang_content_names

Definitions

sources/lang2.php

  • Search the database to find human-readable names for content language string IDs.
  • 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_ids array No No required parameter N/A N/A The content language string IDs (array of AUTO_LINK)

Returns

  • Human readable names (List of string against same IDs in input array or null for orphan strings)
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Search the database to find human-readable names for content language string IDs.
 *
 * @param  array $lang_ids The content language string IDs (array of AUTO_LINK)
 * @return array Human readable names (List of string against same IDs in input array or null for orphan strings)
 */

function find_lang_content_names(array $lang_ids) : array