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

Public Member Functions

 controls (question_attempt $qa, question_display_options $options)
 feedback (question_attempt $qa, question_display_options $options)

Protected Member Functions

 penalty_info (question_attempt $qa, $mark, question_display_options $options)
 disregarded_info ()

Detailed Description

Renderer for outputting parts of a question belonging to the legacy adaptive behaviour.

Definition at line 38 of file renderer.php.


Member Function Documentation

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:
question_attempt$qaa question attempt.
question_display_options$optionscontrols what should and should not be displayed.
Returns:
string HTML fragment.

Reimplemented from qbehaviour_renderer.

Definition at line 40 of file renderer.php.

Here is the call graph for this function:

disregarded_info ( ) [protected]

Display information about a disregarded (incomplete) response.

Reimplemented in qbehaviour_adaptivenopenalty_renderer.

Definition at line 133 of file renderer.php.

Here is the caller graph for this function:

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:
question_attempt$qaa question attempt.
question_display_options$optionscontrols what should and should not be displayed.
Returns:
string HTML fragment.

Reimplemented from qbehaviour_renderer.

Definition at line 44 of file renderer.php.

Here is the call graph for this function:

penalty_info ( question_attempt qa,
mark,
question_display_options options 
) [protected]

Display the information about the penalty calculations.

Parameters:
question_attempt$qathe question attempt.
object$markcontains information about the current mark.
question_display_options$optionsdisplay options.

Definition at line 99 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