Provides support for the conversion of moodle1 backup to the moodle2 format
Copyright: | 2011 Mark Nielsen <mark@moodlerooms.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 135 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
moodle1_mod_forum_handler:: (3 methods):
get_paths()
process_forum()
on_forum_end()
Class: moodle1_mod_forum_handler - X-Ref
Forum 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 paths /MOODLE_BACKUP/COURSE/MODULES/MOD/FORUM do 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_forum($data) X-Ref |
Converts /MOODLE_BACKUP/COURSE/MODULES/MOD/FORUM data |
on_forum_end() X-Ref |
This is executed when we reach the closing </MOD> tag of our 'forum' path |