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

Public Member Functions

 process_section ($data)

Protected Member Functions

 define_structure ()
 after_execute ()

Detailed Description

Structure step that will read the section.xml creating/updating sections as needed, rebuilding course cache and other friends

Definition at line 991 of file restore_stepslib.php.


Member Function Documentation

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

Here is the call graph for this function:

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

Here is the call graph for this function:

process_section ( data)

Definition at line 1002 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