Function Standard_crud_module->choose_feedback_fields_statistically

Definitions

sources/crud_module.php

  • Statistically work out defaults for feedback fields, if not currently set.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$allow_rating ?BINARY required parameter N/A N/A Whether rating is allowed (null: decide statistically, based on existing choices)
$allow_comments ?SHORT_INTEGER required parameter N/A N/A Whether comments are allowed (0=no, 1=yes, 2=review style) (null: decide statistically, based on existing choices)
$allow_trackbacks ?BINARY required parameter N/A N/A Whether trackbacks are allowed (null: decide statistically, based on existing choices)

Return

  • Array of all input parameters, converted
  • Type: array
  • Set: N/A
  • Range: N/A