Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402] [Versions 402 and 403]

(no description)

File Size: 624 lines (26 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class


Class: restore_quiz_activity_structure_step  - X-Ref

Structure step to restore one quiz activity

define_structure()   X-Ref


process_quiz($data)   X-Ref
Process the quiz data.

param: stdClass|array $data

process_quiz_question_legacy_instance($data)   X-Ref
Process the data for pre 4.0 quiz data where the question_references and question_set_references table introduced.

param: stdClass|array $data

process_quiz_question_instance($data)   X-Ref
Process quiz slots.

param: stdClass|array $data

process_quiz_slot_tags($data)   X-Ref
Process a quiz_slot_tags to restore the tags to the new structure.

param: stdClass|array $data The quiz_slot_tags data

process_quiz_section($data)   X-Ref
No description

process_quiz_feedback($data)   X-Ref
No description

process_quiz_override($data)   X-Ref
No description

process_quiz_grade($data)   X-Ref
No description

process_quiz_attempt($data)   X-Ref
No description

process_quiz_attempt_legacy($data)   X-Ref
No description

inform_new_usage_id($newusageid)   X-Ref
No description

after_execute()   X-Ref
No description

after_restore()   X-Ref
No description