Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

(no description)

File Size: 619 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