Moodle  2.2.1
http://www.collinsharper.com
qtype_description_renderer Class Reference
Inheritance diagram for qtype_description_renderer:
Collaboration diagram for qtype_description_renderer:

Public Member Functions

 formulation_and_controls (question_attempt $qa, question_display_options $options)
 formulation_heading ()

Detailed Description

Generates the output for description 'question's.

Definition at line 36 of file renderer.php.


Member Function Documentation

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.

Parameters:
question_attempt$qathe question attempt to display.
question_display_options$optionscontrols what should and should not be displayed.
Returns:
string HTML fragment.

Reimplemented from qtype_renderer.

Definition at line 37 of file renderer.php.

Here is the call graph for this function:

In the question output there are some class="accesshide" headers to help screen-readers. This method returns the text to use for the heading above the formulation_and_controls section.

Returns:
string to use as the heading.

Reimplemented from qtype_renderer.

Definition at line 44 of file renderer.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations