function _multichoice_next_step in Quiz 8.4
Same name and namespace in other branches
- 6.4 question_types/multichoice/multichoice_update_6400.inc \_multichoice_next_step()
- 7 question_types/multichoice/multichoice_update_6400.inc \_multichoice_next_step()
- 7.4 question_types/multichoice/multichoice_update_6400.inc \_multichoice_next_step()
Helper function to switch steps in the update process
Parameters
$to_return: Array where progress can be reported
$sandbox: Array where persistent data can be stored, and progress can be found
2 calls to _multichoice_next_step()
- _multichoice_check_answers in question_types/
multichoice/ multichoice_update_6400.inc - We go through the alternatives and update question properties and field formats
- _multichoice_move_old_answers in question_types/
multichoice/ multichoice_update_6400.inc - Move/convert user answer data from the old data model to the new
File
- question_types/
multichoice/ multichoice_update_6400.inc, line 402
Code
function _multichoice_next_step(&$to_return, &$sandbox) {
$sandbox['current_step']++;
}