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

Public Member Functions

 question_summary ()
 right_answer ()
 explode_answer ($answer)
 display_response ($response)
 response_summary ($state)
 was_answered ($state)
 set_first_step_data_elements ($state, &$data)
 supply_missing_first_step_data (&$data)
 set_data_elements_for_step ($state, &$data)
 add_prefix ($field, $i)

Detailed Description

Class for converting attempt data for multianswer questions when upgrading attempts to the new question engine.

This class is used by the code in question/engine/upgrade/upgradelib.php.

Definition at line 39 of file upgradelib.php.


Member Function Documentation

add_prefix ( field,
i 
)

Definition at line 161 of file upgradelib.php.

Here is the caller graph for this function:

display_response ( response)

Definition at line 91 of file upgradelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

explode_answer ( answer)

Definition at line 79 of file upgradelib.php.

Here is the caller graph for this function:

Reimplemented from question_qtype_attempt_updater.

Definition at line 41 of file upgradelib.php.

Here is the call graph for this function:

response_summary ( state)

Reimplemented from question_qtype_attempt_updater.

Definition at line 103 of file upgradelib.php.

Here is the call graph for this function:

Reimplemented from question_qtype_attempt_updater.

Definition at line 64 of file upgradelib.php.

Here is the call graph for this function:

set_data_elements_for_step ( state,
&$  data 
)

Reimplemented from question_qtype_attempt_updater.

Definition at line 134 of file upgradelib.php.

Here is the call graph for this function:

set_first_step_data_elements ( state,
&$  data 
)

Reimplemented from question_qtype_attempt_updater.

Definition at line 117 of file upgradelib.php.

Here is the call graph for this function:

Reimplemented from question_qtype_attempt_updater.

Definition at line 131 of file upgradelib.php.

was_answered ( state)

Reimplemented from question_qtype_attempt_updater.

Definition at line 113 of file upgradelib.php.


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