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

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 ()

Detailed Description

Base class for the grading strategy subplugin handler

Definition at line 303 of file lib.php.


Constructor & Destructor Documentation

__construct ( moodle1_mod_handler workshophandler,
subpluginname 
)
Parameters:
moodle1_mod_handler$workshophandlerthe handler of a module we are subplugin of
string$subpluginnamethe name of the subplugin

Definition at line 309 of file lib.php.


Member Function Documentation

Called when we reach </ELEMENTS>

Reimplemented in moodle1_workshopform_numerrors_handler, and moodle1_workshopform_rubric_handler.

Definition at line 353 of file lib.php.

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.

Definition at line 327 of file lib.php.

Called when we reach </ELEMENT>

Definition at line 346 of file lib.php.

process_legacy_element ( array data,
array raw 
)

Called everytime when legacy <ELEMENT> data are available

Parameters:
array$datalegacy element data
array$rawraw element data
Returns:
array converted

Reimplemented in moodle1_workshopform_accumulative_handler.

Definition at line 339 of file lib.php.

use_xml_writer ( xml_writer xmlwriter)

Provides a xml_writer instance to this workshopform handler

Parameters:
xml_writer$xmlwriter

Definition at line 318 of file lib.php.


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