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


Public Member Functions | |
| process_course ($data) | |
| process_category ($data) | |
| process_tag ($data) | |
| process_allowed_module ($data) | |
Protected Member Functions | |
| define_structure () | |
| after_execute () | |
Structure step that will read the course.xml file, loading it and performing various actions depending of the site/restore settings. Note that target course always exist before arriving here so this step will be updating the course record (never inserting)
Definition at line 1070 of file restore_stepslib.php.
| after_execute | ( | ) | [protected] |
This method will be executed after the whole structure step have been processed
After execution method for code needed to be executed after the whole structure has been processed. Useful for cleaning tasks, files process and others. Simply overwrite in in your steps if needed
Reimplemented from restore_structure_step.
Definition at line 1210 of file restore_stepslib.php.

| define_structure | ( | ) | [protected] |
Function that will return the structure to be processed by this restore_step. Must return one array of elements
Reimplemented from restore_structure_step.
Definition at line 1072 of file restore_stepslib.php.

| process_allowed_module | ( | $ | data | ) |
| process_category | ( | $ | data | ) |
Definition at line 1162 of file restore_stepslib.php.
| process_course | ( | $ | data | ) |
Processing functions go here
moodledatabase $DB
| stdClass | $data |
Definition at line 1103 of file restore_stepslib.php.

| process_tag | ( | $ | data | ) |