Function __global->handle_award_setting

Definitions

sources/awards.php

  • Situation: something that may have awards has just been added/edited. Action: add any specified awards.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

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

Preview

Code (PHP)

/**
 * Situation: something that may have awards has just been added/edited. Action: add any specified awards.
 *
 * @param  ID_TEXT $content_type The content type
 * @param  ID_TEXT $id The content ID
 */

function handle_award_setting(string $content_type, string $id)