You are here

constant QUESTION_EVENTMANUALGRADE in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/questionlib.php \QUESTION_EVENTMANUALGRADE
3 uses of QUESTION_EVENTMANUALGRADE
question_process_comment in includes/moodle/lib/questionlib.php
Process a manual grading action. That is, use $comment and $grade to update $state and $attempt. The attempt and the comment text are stored in the database. $state is only updated in memory, it is up to the call to store that, if appropriate.
question_state_is_closed in includes/moodle/lib/questionlib.php
Determines whether a state has been closed by looking at the event field
regrade_question_in_attempt in includes/moodle/lib/questionlib.php
For a given question in an attempt we walk the complete history of states and recalculate the grades as we go along.

File

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

Code

define('QUESTION_EVENTMANUALGRADE', '9');