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

Public Member Functions

 build ()
 launch_execute_after_restore ()

Static Public Member Functions

static define_restore_log_rules ()

Protected Member Functions

 define_settings ()

Detailed Description

Final task that provides all the final steps necessary in order to finish one restore like gradebook, interlinks... apart from some final cleaning

TODO: Finish phpdocs

Definition at line 31 of file restore_final_task.class.php.


Member Function Documentation

build ( )

Create all the steps that will be part of this task

Reimplemented from base_task.

Definition at line 36 of file restore_final_task.class.php.

Here is the call graph for this function:

static define_restore_log_rules ( ) [static]

Define the restore log rules that will be applied by the restore_logs_processor when restoring course logs. It must return one array of restore_log_rule objects

Note these are course logs, but are defined and restored in final task because we need all the activities to be restored in order to handle some log records properly

Definition at line 108 of file restore_final_task.class.php.

Here is the call graph for this function:

define_settings ( ) [protected]

Define the common setting that any restore type will have

Reimplemented from base_task.

Definition at line 152 of file restore_final_task.class.php.

Special method, only available in the restore_final_task, able to invoke the restore_plan execute_after_restore() method, so restore_execute_after_restore step will be able to launch all the after_restore() methods of the executed tasks

Definition at line 94 of file restore_final_task.class.php.


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