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

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)

Detailed Description

Subclass for generating the bits of output specific to shortanswer subquestions.

Definition at line 102 of file renderer.php.


Member Function Documentation

feedback_popup ( question_graded_automatically subq,
fraction,
feedbacktext,
rightanswer,
question_display_options options 
) [protected]

Render the feedback pop-up contents.

Parameters:
question_graded_automatically$subqthe subquestion.
float$fractionthe mark the student got. null if this subq was not answered.
string$feedbacktextthe feedback text, already processed with format_text etc.
string$rightanswerthe right answer, already processed with format_text etc.
question_display_options$optionsthe display options.
Returns:
string the HTML for the feedback popup.

Definition at line 118 of file renderer.php.

Here is the call graph for this function:

Here is the caller graph for this function:


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