You are here

function get_question_fraction_grade in Quiz 6.6

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

File

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

Code

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