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


Public Member Functions | |
| __construct ($answers) | |
| get_answers () | |
| compare_response_with_answer (array $response, question_answer $answer) | |
Protected Attributes | |
| $answers = array() | |
Unit tests for the question definition base classes.
Definition at line 38 of file testquestionbase.php.
| __construct | ( | $ | answers | ) |
Definition at line 41 of file testquestionbase.php.
| compare_response_with_answer | ( | array $ | response, |
| question_answer $ | answer | ||
| ) |
| array | $response | the response. |
| question_answer | $answer | an answer. |
Implements question_response_answer_comparer.
Definition at line 49 of file testquestionbase.php.
| get_answers | ( | ) |
Implements question_response_answer_comparer.
Definition at line 45 of file testquestionbase.php.
$answers = array() [protected] |
Definition at line 39 of file testquestionbase.php.