You are here

function get_question_responses in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/questionlib.php \get_question_responses()

File

includes/moodle/lib/questionlib.php, line 1727

Code

function get_question_responses($question, $state) {
  global $QTYPES;
  $r = $QTYPES[$question->qtype]
    ->get_all_responses($question, $state);
  return $r;
}