|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| question_summary () | |
| right_answer () | |
| 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) | |
Protected Member Functions | |
| explode_answer ($answer) | |
| make_summary ($pairs) | |
| lookup_choice ($choice) | |
Protected Attributes | |
| $stems | |
| $choices | |
| $right | |
| $stemorder | |
| $choiceorder | |
| $flippedchoiceorder | |
Class for converting attempt data for match 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.
| explode_answer | ( | $ | answer | ) | [protected] |
| lookup_choice | ( | $ | choice | ) | [protected] |
| make_summary | ( | $ | pairs | ) | [protected] |
| question_summary | ( | ) |
Reimplemented from question_qtype_attempt_updater.
Definition at line 47 of file upgradelib.php.

| response_summary | ( | $ | state | ) |
Reimplemented from question_qtype_attempt_updater.
Definition at line 112 of file upgradelib.php.

| right_answer | ( | ) |
Reimplemented from question_qtype_attempt_updater.
Definition at line 70 of file upgradelib.php.

| set_data_elements_for_step | ( | $ | state, |
| &$ | data | ||
| ) |
Reimplemented from question_qtype_attempt_updater.
Definition at line 174 of file upgradelib.php.

| set_first_step_data_elements | ( | $ | state, |
| &$ | data | ||
| ) |
Reimplemented from question_qtype_attempt_updater.
Definition at line 150 of file upgradelib.php.

| supply_missing_first_step_data | ( | &$ | data | ) |
Reimplemented from question_qtype_attempt_updater.
Definition at line 167 of file upgradelib.php.
| was_answered | ( | $ | state | ) |
Reimplemented from question_qtype_attempt_updater.
Definition at line 140 of file upgradelib.php.

$choiceorder [protected] |
Definition at line 44 of file upgradelib.php.
$choices [protected] |
Definition at line 41 of file upgradelib.php.
$flippedchoiceorder [protected] |
Definition at line 45 of file upgradelib.php.
$right [protected] |
Definition at line 42 of file upgradelib.php.
$stemorder [protected] |
Definition at line 43 of file upgradelib.php.
$stems [protected] |
Definition at line 40 of file upgradelib.php.