Differences Between: [Versions 310 and 402] [Versions 310 and 403]
Provides support for the conversion of moodle1 backup to the moodle2 format Based off of a template @ http://docs.moodle.org/dev/Backup_1.9_conversion_for_developers
Copyright: | 2011 Aparup Banerjee <aparup@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 199 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
moodle1_mod_quiz_handler:: (9 methods):
get_paths()
process_quiz()
on_quiz_question_instances_start()
on_quiz_question_instances_end()
process_quiz_question_instance()
on_quiz_feedbacks_start()
on_quiz_feedbacks_end()
process_quiz_feedback()
on_quiz_end()
Class: moodle1_mod_quiz_handler - X-Ref
Quiz conversion handlerget_paths() X-Ref |
Declare the paths in moodle.xml we are able to convert The method returns list of {@link convert_path} instances. For each path returned, the corresponding conversion method must be defined. Note that the path /MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ does not actually exist in the file. The last element with the module name was appended by the moodle1_converter class. return: array of {@link convert_path} instances |
process_quiz($data) X-Ref |
This is executed every time we have one /MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ data available |
on_quiz_question_instances_start() X-Ref |
No description |
on_quiz_question_instances_end() X-Ref |
No description |
process_quiz_question_instance($data) X-Ref |
No description |
on_quiz_feedbacks_start() X-Ref |
No description |
on_quiz_feedbacks_end() X-Ref |
No description |
process_quiz_feedback($data) X-Ref |
No description |
on_quiz_end() X-Ref |
This is executed when we reach the closing </MOD> tag of our 'quiz' path |