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

Public Member Functions | |
| get_answers () | |
| compare_response_with_answer (array $response, question_answer $answer) | |
This interface defines the methods that a question_definition must implement if it is to be graded by the question_first_matching_answer_grading_strategy.
Definition at line 895 of file questionbase.php.
| compare_response_with_answer | ( | array $ | response, |
| question_answer $ | answer | ||
| ) |
| array | $response | the response. |
| question_answer | $answer | an answer. |
Implemented in qtype_shortanswer_question, and test_response_answer_comparer.
| get_answers | ( | ) |
Implemented in qtype_shortanswer_question, and test_response_answer_comparer.