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


Public Member Functions | |
| formulation_and_controls (question_attempt $qa, question_display_options $options) | |
| specific_feedback (question_attempt $qa) | |
| correct_response (question_attempt $qa) | |
Generates the output for short answer questions.
Definition at line 36 of file renderer.php.
| correct_response | ( | question_attempt $ | qa | ) |
Gereate an automatic description of the correct response to this question. Not all question types can do this. If it is not possible, this method should just return an empty string.
| question_attempt | $qa | the question attempt to display. |
Reimplemented from qtype_renderer.
Definition at line 112 of file renderer.php.

| formulation_and_controls | ( | question_attempt $ | qa, |
| question_display_options $ | options | ||
| ) |
Generate the display of the formulation part of the question. This is the area that contains the quetsion text, and the controls for students to input their answers. Some question types also embed bits of feedback, for example ticks and crosses, in this area.
| question_attempt | $qa | the question attempt to display. |
| question_display_options | $options | controls what should and should not be displayed. |
Reimplemented from qtype_renderer.
Definition at line 37 of file renderer.php.

| specific_feedback | ( | question_attempt $ | qa | ) |
Gereate the specific feedback. This is feedback that varies accordin to the reponse the student gave.
| question_attempt | $qa | the question attempt to display. |
Reimplemented from qtype_renderer.
Definition at line 100 of file renderer.php.
