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

Static Public Member Functions

static define_decode_contents ()
static define_decode_rules ()
static define_restore_log_rules ()
static define_restore_log_rules_for_course ()

Protected Member Functions

 define_my_settings ()
 define_my_steps ()

Detailed Description

survey restore task that provides all the settings and steps to perform one complete restore of the activity

Definition at line 33 of file restore_survey_activity_task.class.php.


Member Function Documentation

static define_decode_contents ( ) [static]

Define the contents in the activity that must be processed by the link decoder

Reimplemented from restore_activity_task.

Definition at line 54 of file restore_survey_activity_task.class.php.

static define_decode_rules ( ) [static]

Define the decoding rules for links belonging to the activity to be executed by the link decoder

Reimplemented from restore_activity_task.

Definition at line 66 of file restore_survey_activity_task.class.php.

define_my_settings ( ) [protected]

Define (add) particular settings this activity can have

Reimplemented from restore_activity_task.

Definition at line 38 of file restore_survey_activity_task.class.php.

define_my_steps ( ) [protected]

Define (add) particular steps this activity can have

Reimplemented from restore_activity_task.

Definition at line 45 of file restore_survey_activity_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 survey logs. It must return one array of restore_log_rule objects

Reimplemented from restore_activity_task.

Definition at line 82 of file restore_survey_activity_task.class.php.

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 this rules are applied when restoring course logs by the restore final task, but are defined here at activity level. All them are rules not linked to any module instance (cmid = 0)

Definition at line 107 of file restore_survey_activity_task.class.php.


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