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

Protected Member Functions

 define_structure ()
 process_lesson ($data)
 process_lesson_page ($data)
 process_lesson_answer ($data)
 process_lesson_attempt ($data)
 process_lesson_grade ($data)
 process_lesson_branch ($data)
 process_lesson_highscore ($data)
 process_lesson_timer ($data)
 after_execute ()

Protected Attributes

 $answers = array()

Detailed Description

Define all the restore steps that will be used by the restore_lesson_activity_task Structure step to restore one lesson activity

Definition at line 32 of file restore_lesson_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 176 of file restore_lesson_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 37 of file restore_lesson_stepslib.php.

Here is the call graph for this function:

process_lesson ( data) [protected]

Definition at line 57 of file restore_lesson_stepslib.php.

Here is the call graph for this function:

process_lesson_answer ( data) [protected]

Definition at line 96 of file restore_lesson_stepslib.php.

Here is the call graph for this function:

process_lesson_attempt ( data) [protected]

Definition at line 111 of file restore_lesson_stepslib.php.

Here is the call graph for this function:

process_lesson_branch ( data) [protected]

Definition at line 138 of file restore_lesson_stepslib.php.

Here is the call graph for this function:

process_lesson_grade ( data) [protected]

Definition at line 125 of file restore_lesson_stepslib.php.

Here is the call graph for this function:

process_lesson_highscore ( data) [protected]

Definition at line 151 of file restore_lesson_stepslib.php.

Here is the call graph for this function:

process_lesson_page ( data) [protected]

Definition at line 81 of file restore_lesson_stepslib.php.

Here is the call graph for this function:

process_lesson_timer ( data) [protected]

Definition at line 163 of file restore_lesson_stepslib.php.

Here is the call graph for this function:


Field Documentation

$answers = array() [protected]

Definition at line 35 of file restore_lesson_stepslib.php.


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