Function __global->extract_content_str_id_from_data

Definitions

sources/content.php

  • Get the string content ID for some data.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$data array No No required parameter N/A N/A The data row
$cma_info array No No required parameter N/A N/A The info array for the content type

Returns

  • The ID
  • Type: ID_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the string content ID for some data.
 *
 * @param  array $data The data row
 * @param  array $cma_info The info array for the content type
 * @return ID_TEXT The ID
 */

function extract_content_str_id_from_data(array $data, array $cma_info) : string