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

Public Member Functions

 log ($message, $level, $a=null, $depth=null, $display=false)

Static Public Member Functions

static detect_format ($tempdir)
static description ()

Protected Member Functions

 execute ()

Detailed Description

Definition at line 18 of file lib.php.


Member Function Documentation

static description ( ) [static]

Returns the basic information about the converter

The returned array must contain the following keys: 'from' - the supported source format, eg. backup::FORMAT_MOODLE1 'to' - the supported target format, eg. backup::FORMAT_MOODLE 'cost' - the cost of the conversion, non-negative non-zero integer

Reimplemented from base_converter.

Definition at line 76 of file lib.php.

static detect_format ( tempdir) [static]

Detects the Common Cartridge 1.0 format of the backup directory

Parameters:
string$tempdirthe name of the backup directory
Returns:
null|string backup::FORMAT_IMSCC11 if the Common Cartridge 1.1 is detected, null otherwise

Reimplemented from base_converter.

Definition at line 40 of file lib.php.

Here is the call graph for this function:

execute ( ) [protected]

Converts the contents of the tempdir into the target format in the workdir

Reimplemented from base_converter.

Definition at line 85 of file lib.php.

Here is the call graph for this function:

log ( message,
level,
a = null,
depth = null,
display = false 
)

This function will be responsible for handling the params, and to call to the corresponding logger->process() once all modifications in params have been performed

Reimplemented from base_converter.

Definition at line 30 of file lib.php.

Here is the caller graph for this function:


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