Function __global->placeholder_rating

Definitions

sources/lorem.php

  • Get placeholder ratings.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$feedback_type ID_TEXT No No required parameter N/A N/A The feedback type
$template ID_TEXT No No RATING_BOX N/A N/A The template to use

Returns

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

Preview

Code (PHP)

/**
 * Get placeholder ratings.
 *
 * @param  ID_TEXT $feedback_type The feedback type
 * @param  ID_TEXT $template The template to use
 * @return Tempcode The ratings
 */

function placeholder_rating(string $feedback_type, string $template = 'RATING_BOX') : object