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


Public Member Functions | |
| __construct (moodle1_mod_handler $workshophandler, $subpluginname) | |
| use_xml_writer (xml_writer $xmlwriter) | |
| on_elements_start () | |
| process_legacy_element (array $data, array $raw) | |
| on_legacy_element_end () | |
| on_elements_end () | |
| __construct | ( | moodle1_mod_handler $ | workshophandler, |
| $ | subpluginname | ||
| ) |
| moodle1_mod_handler | $workshophandler | the handler of a module we are subplugin of |
| string | $subpluginname | the name of the subplugin |
| on_elements_end | ( | ) |
Called when we reach </ELEMENTS>
Reimplemented in moodle1_workshopform_numerrors_handler, and moodle1_workshopform_rubric_handler.
Called when we reach <ELEMENTS>
Gives the handler a chance to prepare for a new workshop instance
Reimplemented in moodle1_workshopform_numerrors_handler, and moodle1_workshopform_rubric_handler.
| process_legacy_element | ( | array $ | data, |
| array $ | raw | ||
| ) |
Called everytime when legacy <ELEMENT> data are available
| array | $data | legacy element data |
| array | $raw | raw element data |
Reimplemented in moodle1_workshopform_accumulative_handler.
| use_xml_writer | ( | xml_writer $ | xmlwriter | ) |
Provides a xml_writer instance to this workshopform handler
| xml_writer | $xmlwriter |