Function __global->find_awards_for

Definitions

sources/awards.php

  • Get details of awards won for a content item.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$content_type ID_TEXT No No required parameter N/A N/A The award content type
$id ID_TEXT No No required parameter N/A N/A The content ID

Returns

  • List of awards won
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get details of awards won for a content item.
 *
 * @param  ID_TEXT $content_type The award content type
 * @param  ID_TEXT $id The content ID
 * @return array List of awards won
 */

function find_awards_for(string $content_type, string $id) : array