|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| compute_final_grade ($responses, $totaltries) | |
Interface that a question_definition must implement to be usable by the interactivecountback behaviour.
Definition at line 527 of file questionbase.php.
| compute_final_grade | ( | $ | responses, |
| $ | totaltries | ||
| ) |
Work out a final grade for this attempt, taking into account all the tries the student made.
| array | $responses | the response for each try. Each element of this array is a response array, as would be passed to grade_response(). There may be between 1 and $totaltries responses. |
| int | $totaltries | The maximum number of tries allowed. |
Implemented in qtype_match_question.