Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Class for converting attempt data for match questions when upgrading attempts to the new question engine. More...
Public Member Functions | |
compare_answers ($answer1, $answer2) | |
discard () | |
is_blank_answer ($state) | |
question_summary () | |
response_summary ($state) | |
right_answer () | |
set_data_elements_for_step ($state, &$data) | |
set_first_step_data_elements ($state, &$data) | |
supply_missing_first_step_data (&$data) | |
was_answered ($state) | |
Protected Member Functions | |
explode_answer ($answer) | |
lookup_choice ($choice) | |
make_summary ($pairs) | |
to_text ($html) | |
Protected Attributes | |
$choiceorder | |
$choices | |
$flippedchoiceorder | |
question_engine_assumption_logger | $logger |
question_engine_attempt_upgrader | $qeupdater |
object | $question |
the question definition data. | |
$right | |
$stemorder | |
$stems | |
question_behaviour_attempt_updater | $updater |
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.
qtype_match_qe2_attempt_updater::question_summary | ( | ) |
Reimplemented from question_qtype_attempt_updater.
qtype_match_qe2_attempt_updater::response_summary | ( | $state | ) |
Reimplemented from question_qtype_attempt_updater.
qtype_match_qe2_attempt_updater::right_answer | ( | ) |
Reimplemented from question_qtype_attempt_updater.
qtype_match_qe2_attempt_updater::set_data_elements_for_step | ( | $state, | |
& | $data ) |
Reimplemented from question_qtype_attempt_updater.
qtype_match_qe2_attempt_updater::set_first_step_data_elements | ( | $state, | |
& | $data ) |
Reimplemented from question_qtype_attempt_updater.
qtype_match_qe2_attempt_updater::supply_missing_first_step_data | ( | & | $data | ) |
Reimplemented from question_qtype_attempt_updater.
qtype_match_qe2_attempt_updater::was_answered | ( | $state | ) |
Reimplemented from question_qtype_attempt_updater.