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

Protected Member Functions

 execute_condition ()
 define_structure ()
 process_gradebook ($data)
 process_grade_item ($data)
 process_grade_grade ($data)
 process_grade_category ($data)
 process_grade_letter ($data)
 process_grade_setting ($data)
 after_execute ()

Detailed Description

Restore calculated grade items, grade categories etc

Definition at line 77 of file restore_stepslib.php.


Member Function Documentation

after_execute ( ) [protected]

put all activity grade items in the correct grade category and mark all for recalculation

Reimplemented from restore_structure_step.

Definition at line 286 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 120 of file restore_stepslib.php.

execute_condition ( ) [protected]

To conditionally decide if this step must be executed Note the "settings" conditions are evaluated in the corresponding task. Here we check for other conditions not being restore settings (files, site settings...)

Reimplemented from restore_structure_step.

Definition at line 85 of file restore_stepslib.php.

Here is the call graph for this function:

process_grade_category ( data) [protected]

Definition at line 224 of file restore_stepslib.php.

Here is the call graph for this function:

process_grade_grade ( data) [protected]

Definition at line 205 of file restore_stepslib.php.

Here is the call graph for this function:

process_grade_item ( data) [protected]

Definition at line 139 of file restore_stepslib.php.

Here is the call graph for this function:

process_grade_letter ( data) [protected]

Definition at line 260 of file restore_stepslib.php.

Here is the call graph for this function:

process_grade_setting ( data) [protected]

Definition at line 271 of file restore_stepslib.php.

Here is the call graph for this function:

process_gradebook ( data) [protected]

Definition at line 136 of file restore_stepslib.php.


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