Function __global->add_award_type

Definitions

sources/awards2.php

  • Make an award type.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$title SHORT_TEXT required parameter N/A N/A The title
$description LONG_TEXT required parameter N/A N/A The description
$points integer required parameter N/A N/A How many points are given to the awardee
$content_type ID_TEXT required parameter N/A N/A The content type the award type is for
$show_awardee BINARY required parameter N/A N/A Whether to show the awardee when displaying this award
$update_interval_hours integer required parameter N/A N/A The approximate time in hours between awards (e.g. 168 for a week)

Return

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