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


Public Member Functions | |
| subquestion (question_attempt $qa, question_display_options $options, $index, question_graded_automatically $subq) | |
Protected Member Functions | |
| feedback_popup (question_graded_automatically $subq, $fraction, $feedbacktext, $rightanswer, question_display_options $options) | |
Subclass for generating the bits of output specific to shortanswer subquestions.
Definition at line 102 of file renderer.php.
| feedback_popup | ( | question_graded_automatically $ | subq, |
| $ | fraction, | ||
| $ | feedbacktext, | ||
| $ | rightanswer, | ||
| question_display_options $ | options | ||
| ) | [protected] |
Render the feedback pop-up contents.
| question_graded_automatically | $subq | the subquestion. |
| float | $fraction | the mark the student got. null if this subq was not answered. |
| string | $feedbacktext | the feedback text, already processed with format_text etc. |
| string | $rightanswer | the right answer, already processed with format_text etc. |
| question_display_options | $options | the display options. |
Definition at line 118 of file renderer.php.


| subquestion | ( | question_attempt $ | qa, |
| question_display_options $ | options, | ||
| $ | index, | ||
| question_graded_automatically $ | subq | ||
| ) | [abstract] |