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

Protected Member Functions

 define_structure ()
 process_survey ($data)
 process_survey_analys ($data)
 process_survey_answer ($data)
 after_execute ()

Detailed Description

Define all the restore steps that will be used by the restore_survey_activity_task Structure step to restore one survey activity

Definition at line 32 of file restore_survey_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 91 of file restore_survey_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 34 of file restore_survey_stepslib.php.

Here is the call graph for this function:

process_survey ( data) [protected]

Definition at line 49 of file restore_survey_stepslib.php.

Here is the call graph for this function:

process_survey_analys ( data) [protected]

Definition at line 64 of file restore_survey_stepslib.php.

Here is the call graph for this function:

process_survey_answer ( data) [protected]

Definition at line 77 of file restore_survey_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