Moodle  2.2.1
http://www.collinsharper.com
restore_module_structure_step Class Reference
Inheritance diagram for restore_module_structure_step:
Collaboration diagram for restore_module_structure_step:

Protected Member Functions

 define_structure ()
 process_module ($data)
 process_availability ($data)

Detailed Description

Structure step to restore common course_module information

This step will process the module.xml file for one activity, in order to restore the corresponding information to the course_modules table, skipping various bits of information based on CFG settings (groupings, completion...) in order to fullfill all the reqs to be able to create the context to be used by all the rest of steps in the activity restore task

Definition at line 2311 of file restore_stepslib.php.


Member Function Documentation

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 2313 of file restore_stepslib.php.

Here is the call graph for this function:

process_availability ( data) [protected]

Definition at line 2417 of file restore_stepslib.php.

Here is the call graph for this function:

process_module ( data) [protected]

Definition at line 2333 of file restore_stepslib.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations