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

Public Member Functions

 process_group ($data)
 process_member ($data)
 process_grouping ($data)
 process_grouping_group ($data)

Protected Member Functions

 define_structure ()
 after_execute ()

Detailed Description

Structure step that will create all the needed groups and groupings by loading them from the groups.xml file performing the required matches. Note group members only will be added if restoring user info

Definition at line 695 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 810 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 697 of file restore_stepslib.php.

Here is the call graph for this function:

process_group ( data)

Definition at line 712 of file restore_stepslib.php.

Here is the call graph for this function:

process_grouping ( data)

Definition at line 761 of file restore_stepslib.php.

Here is the call graph for this function:

Definition at line 793 of file restore_stepslib.php.

Here is the call graph for this function:

process_member ( data)

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