Function Module_quiz->enforcement_checks

Definitions

site/pages/modules/quiz.php

  • Make sure the entry rules of a quiz are not being broken. Exits when they may not enter.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$quiz array No No required parameter N/A N/A The DB row of the quiz

Preview

Code (PHP)

/**
 * Make sure the entry rules of a quiz are not being broken. Exits when they may not enter.
 *
 * @param  array $quiz The DB row of the quiz
 */

public function enforcement_checks(array $quiz)