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

Public Member Functions

 get_paths ()
 process_label ($data)

Detailed Description

Label conversion handler

Definition at line 33 of file lib.php.


Member Function Documentation

get_paths ( )

Declare the paths in moodle.xml we are able to convert

The method returns list of convert_path instances. For each path returned, the corresponding conversion method must be defined.

Note that the path /MOODLE_BACKUP/COURSE/MODULES/MOD/LABEL does not actually exist in the file. The last element with the module name was appended by the moodle1_converter class.

Returns:
array of convert_path instances

Definition at line 48 of file lib.php.

process_label ( data)

This is executed every time we have one /MOODLE_BACKUP/COURSE/MODULES/MOD/LABEL data available

Definition at line 68 of file lib.php.

Here is the call graph for this function:


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