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


Public Member Functions | |
| controls (question_attempt $qa, question_display_options $options) | |
| feedback (question_attempt $qa, question_display_options $options) | |
Protected Member Functions | |
| certainly_choices ($controlname, $selected, $readonly) | |
Renderer for outputting parts of a question belonging to the deferred feedback with certainty based marking behaviour.
Definition at line 38 of file renderer.php.
| certainly_choices | ( | $ | controlname, |
| $ | selected, | ||
| $ | readonly | ||
| ) | [protected] |
Definition at line 39 of file renderer.php.


| controls | ( | question_attempt $ | qa, |
| question_display_options $ | options | ||
| ) |
Generate some HTML (which may be blank) that appears in the question formulation area, afer the question type generated output.
For example. immediatefeedback and interactive mode use this to show the Submit button, and CBM use this to display the certainty choices.
| question_attempt | $qa | a question attempt. |
| question_display_options | $options | controls what should and should not be displayed. |
Reimplemented from qbehaviour_renderer.
Reimplemented in qbehaviour_immediatecbm_renderer.
Definition at line 65 of file renderer.php.

| feedback | ( | question_attempt $ | qa, |
| question_display_options $ | options | ||
| ) |
Generate some HTML (which may be blank) that appears in the outcome area, after the question-type generated output.
For example, the CBM models use this to display an explanation of the score adjustment that was made based on the certainty selected.
| question_attempt | $qa | a question attempt. |
| question_display_options | $options | controls what should and should not be displayed. |
Reimplemented from qbehaviour_renderer.
Definition at line 72 of file renderer.php.
