You are here

function question_isgradingevent in Quiz 6.5

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

Determine if event requires grading

1 call to question_isgradingevent()
question_process_responses in includes/moodle/lib/questionlib.php
Processes an array of student responses, grading and saving them as appropriate

File

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

Code

function question_isgradingevent($event) {
  return QUESTION_EVENTSUBMIT == $event || QUESTION_EVENTCLOSE == $event;
}