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

Public Member Functions

 __construct (moodle1_mod_handler $assignmenthandler, $subpluginname)
 use_xml_writer (xml_writer $xmlwriter)
 append_subplugin_data ($data)

Detailed Description

Base class for the assignment subplugin handler Extend this for your own subplugin conversion handling purposes.

Definition at line 209 of file lib.php.


Constructor & Destructor Documentation

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

Definition at line 215 of file lib.php.


Member Function Documentation

append_subplugin_data ( data)

a call back (entry point) to the subplugin conversion handler class. $data are the elements of <assignment>, any (

Todo:
sub paths containing subplugindata isn't handed through).

Definition at line 233 of file lib.php.

use_xml_writer ( xml_writer xmlwriter)

Provides a xml_writer instance to this assignment subplugin type handler

Parameters:
xml_writer$xmlwriter

Definition at line 224 of file lib.php.


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