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


Public Member Functions | |
| get_paths () | |
| process_workshop ($data, $raw) | |
| on_workshop_elements_start () | |
| process_workshop_element ($data, $raw) | |
| process_workshop_element_rubric ($data, $raw) | |
| on_workshop_element_end () | |
| on_workshop_elements_end () | |
| on_workshop_end () | |
| get_current_workshop () | |
| get_inforef_manager () | |
Protected Member Functions | |
| get_strategy_handler ($strategy) | |
| internal implementation details follow ///////////////////////////////// | |
Protected Attributes | |
| $currentworkshop = null | |
| $currentcminfo = null | |
| $newelementids = array() | |
| $fileman = null | |
| $inforefman = null | |
Provides access to the instance's inforef manager
| 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, at least one of on_xxx_start(), process_xxx() and on_xxx_end() methods must be defined. The method process_xxx() is not executed if the associated path element is empty (i.e. it contains none elements or sub-paths only).
Note that the path /MOODLE_BACKUP/COURSE/MODULES/MOD/WORKSHOP does not actually exist in the file. The last element with the module name was appended by the moodle1_converter class.
| get_strategy_handler | ( | $ | strategy | ) | [protected] |
internal implementation details follow /////////////////////////////////
Factory method returning the handler of the given grading strategy subplugin
| string | $strategy | the name of the grading strategy |
| moodle1_convert_exception |
Definition at line 266 of file lib.php.


This is executed when the parser reaches <ELEMENTS>
The dimensions definition follows. One of the grading strategy subplugins will append dimensions data in self::process_workshop_element()
Definition at line 155 of file lib.php.

| on_workshop_end | ( | ) |
| process_workshop | ( | $ | data, |
| $ | raw | ||
| ) |
| process_workshop_element | ( | $ | data, |
| $ | raw | ||
| ) |
| process_workshop_element_rubric | ( | $ | data, |
| $ | raw | ||
| ) |