|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| get_paths () | |
| process_lesson ($data) | |
| on_lesson_pages_start () | |
| process_lesson_page ($data) | |
| process_lesson_answer ($data) | |
| on_lesson_page_end () | |
| on_lesson_pages_end () | |
| on_lesson_end () | |
Protected Member Functions | |
| write_single_page_xml ($page, $prevpageid=0, $nextpageid=0) | |
Protected Attributes | |
| $answers | |
| $page | |
| $pages | |
| $prevpageid = 0 | |
| $fileman = null | |
| $moduleid = null | |
| get_paths | ( | ) |
Declare the paths in moodle.xml we are able to convert
The method returns list of convert_path instances. For each path returned, the corresponding conversion method must be defined.
Note that the path /MOODLE_BACKUP/COURSE/MODULES/MOD/LESSON does not actually exist in the file. The last element with the module name was appended by the moodle1_converter class.
| on_lesson_end | ( | ) |
| process_lesson | ( | $ | data | ) |
| process_lesson_answer | ( | $ | data | ) |
| process_lesson_page | ( | $ | data | ) |
| write_single_page_xml | ( | $ | page, |
| $ | prevpageid = 0, |
||
| $ | nextpageid = 0 |
||
| ) | [protected] |