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

Public Member Functions

 __construct ($name, $info, $plan=null)
 get_taskbasepath ()
 get_contextid ()
 build ()

Static Public Member Functions

static define_decode_contents ()
static define_decode_rules ()

Protected Member Functions

 define_settings ()

Protected Attributes

 $info
 $contextid

Detailed Description

course task that provides all the properties and common steps to be performed when one course is being restored

TODO: Finish phpdocs

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


Constructor & Destructor Documentation

__construct ( name,
info,
plan = null 
)

Constructor - instantiates one object of this class

Definition at line 39 of file restore_course_task.class.php.

Here is the call graph for this function:


Member Function Documentation

build ( )

Create all the steps that will be part of this task

Reimplemented from base_task.

Definition at line 59 of file restore_course_task.class.php.

Here is the call graph for this function:

static define_decode_contents ( ) [static]

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

Definition at line 95 of file restore_course_task.class.php.

static define_decode_rules ( ) [static]

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

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

define_settings ( ) [protected]

Define the common setting that any restore course will have

Reimplemented from base_task.

Definition at line 121 of file restore_course_task.class.php.

Here is the call graph for this function:

Definition at line 52 of file restore_course_task.class.php.

Course tasks have their own directory to read files

Reimplemented from base_task.

Definition at line 47 of file restore_course_task.class.php.

Here is the call graph for this function:


Field Documentation

$contextid [protected]

Definition at line 34 of file restore_course_task.class.php.

$info [protected]

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


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