|
Moodle
2.2.1
http://www.collinsharper.com
|


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 () | |
| 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.
| static detect_format | ( | $ | tempdir | ) | [static] |
Detects the Common Cartridge 1.0 format of the backup directory
| string | $tempdir | the name of the backup directory |
Reimplemented from base_converter.
Definition at line 40 of file lib.php.

| 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.

| 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.
