Interactive behaviour renderer.
More...
|
| 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.
|
|
| 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.
|
|
| head_code (question_attempt $qa) |
| Return any HTML that needs to be included in the page's <head> when questions using this model are used.
|
|
| manual_comment (question_attempt $qa, question_display_options $options) |
| Display the manual comment, and a link to edit it, if appropriate.
|
|
| manual_comment_fields (question_attempt $qa, question_display_options $options) |
|
| manual_comment_view (question_attempt $qa, question_display_options $options) |
|
| mark_out_of_max (question_attempt $qa, core_question_renderer $qoutput, question_display_options $options) |
| Generate the display of the marks for this question out of the available marks.
|
|
| mark_summary (question_attempt $qa, core_question_renderer $qoutput, question_display_options $options) |
| Generate the display of the marks for this question.
|
|
| marked_out_of_max (question_attempt $qa, core_question_renderer $qoutput, question_display_options $options) |
| Generate the display of the available marks for this question.
|
|
Interactive behaviour renderer.
- Copyright
- 2009 The Open University
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ controls()
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.
- Parameters
-
- Return values
-
Reimplemented from qbehaviour_renderer.
◆ feedback()
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.
- Parameters
-
- Return values
-
Reimplemented from qbehaviour_renderer.
◆ head_code()
Return any HTML that needs to be included in the page's <head> when questions using this model are used.
- Parameters
-
$qa | the question attempt that will be displayed on the page. |
- Return values
-
◆ manual_comment()
Display the manual comment, and a link to edit it, if appropriate.
- Parameters
-
- Return values
-
◆ mark_out_of_max()
◆ mark_summary()
Generate the display of the marks for this question.
- Parameters
-
- Return values
-
◆ marked_out_of_max()
◆ submit_button()
Several behaviours need a submit button, so put the common code here.
The button is disabled if the question is displayed read-only.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- question/behaviour/interactive/renderer.php