Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
This class manages upgrading all the question attempts from the old database structure to the new question engine. More...
Public Member Functions | |
convert_question_attempt ($quiz, $attempt, $question, $qsession, $qstates) | |
get_next_question_session ($attempt, moodle_recordset $questionsessionsrs) | |
get_question_states ($attempt, $question, moodle_recordset $questionsstatesrs) | |
load_dataset ($questionid, $selecteditem) | |
load_question ($questionid, $quizid=null) | |
prepare_to_restore () | |
save_usage ($preferredbehaviour, $attempt, $qas, $quizlayout) | |
supply_missing_question_attempt ($quiz, $attempt, $question) | |
Protected Attributes | |
question_engine_assumption_logger | $logger |
stdClass | $qsession |
question_engine_upgrade_question_loader | $questionloader |
This class manages upgrading all the question attempts from the old database structure to the new question engine.