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

Public Member Functions

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

Static Public Member Functions

static encode_content_links ($content)

Protected Member Functions

 define_settings ()

Protected Attributes

 $courseid
 $contextid

Detailed Description

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

TODO: Finish phpdocs

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


Constructor & Destructor Documentation

__construct ( name,
courseid,
plan = null 
)

Constructor - instantiates one object of this class

Definition at line 39 of file backup_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 62 of file backup_course_task.class.php.

Here is the call graph for this function:

define_settings ( ) [protected]

Define the common setting that any backup section will have

Reimplemented from base_task.

Definition at line 143 of file backup_course_task.class.php.

static encode_content_links ( content) [static]

Code the transformations to perform in the course in order to get transportable (encoded) links

Definition at line 125 of file backup_course_task.class.php.

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

Course tasks have their own directory to write files

Reimplemented from base_task.

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

Here is the call graph for this function:


Field Documentation

$contextid [protected]

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

$courseid [protected]

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


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