Function __global->show_content_reviews

Definitions

sources/content_reviews.php

  • Show content review details.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

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
$content_id ID_TEXT No No required parameter N/A N/A The content ID
$display_mode integer No No 0 0 1 2 N/A The display mode (0=show full box of review information, 1=show last reviewed time, 2=show next reviewed time)

Returns

  • Content review details to show
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Show content review details.
 *
 * @param  ID_TEXT $content_type The content type
 * @param  ID_TEXT $content_id The content ID
 * @param  integer $display_mode The display mode (0=show full box of review information, 1=show last reviewed time, 2=show next reviewed time)
 * @set 0 1 2
 * @return string Content review details to show
 */

function show_content_reviews(string $content_type, string $content_id, int $display_mode = 0) : string