| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Provides support for the conversion of moodle1 backup to the moodle2 format
| Copyright: | 2011 David Mudrak <david@moodle.com> |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 151 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
moodle1_mod_choice_handler:: (6 methods):
get_paths()
process_choice()
on_choice_options_start()
process_choice_option()
on_choice_options_end()
on_choice_end()
Class: moodle1_mod_choice_handler - X-Ref
Choice conversion handler| get_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/CHOICE 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_choice($data) X-Ref |
| This is executed every time we have one /MOODLE_BACKUP/COURSE/MODULES/MOD/CHOICE data available |
| on_choice_options_start() X-Ref |
| This is executed when the parser reaches the <OPTIONS> opening element |
| process_choice_option($data) X-Ref |
| This is executed every time we have one /MOODLE_BACKUP/COURSE/MODULES/MOD/CHOICE/OPTIONS/OPTION data available |
| on_choice_options_end() X-Ref |
| This is executed when the parser reaches the closing </OPTIONS> element |
| on_choice_end() X-Ref |
| This is executed when we reach the closing </MOD> tag of our 'choice' path |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |