Function __global->report_content_form

Definitions

sources/report_content.php

  • The UI to report content.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$title Tempcode No No required parameter N/A N/A Screen title
$content_type ID_TEXT No No required parameter N/A N/A The content type being reported
$content_id ID_TEXT No No required parameter N/A N/A The content ID being reported

Returns

  • The UI
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * The UI to report content.
 *
 * @param  Tempcode $title Screen title
 * @param  ID_TEXT $content_type The content type being reported
 * @param  ID_TEXT $content_id The content ID being reported
 * @return Tempcode The UI
 */

function report_content_form(object $title, string $content_type, string $content_id) : object