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

Public Member Functions

 on_elements_start ()
 process_legacy_element ($data, $raw)
 on_elements_end ()

Protected Attributes

 $mappings = array()
 $dimensions = array()

Detailed Description

Conversion handler for the numerrors grading strategy data

Definition at line 35 of file lib.php.


Member Function Documentation

Writes gathered mappings and dimensions

Reimplemented from moodle1_workshopform_handler.

Definition at line 88 of file lib.php.

Here is the call graph for this function:

New workshop instance is being processed

Reimplemented from moodle1_workshopform_handler.

Definition at line 46 of file lib.php.

process_legacy_element ( data,
raw 
)

Converts <ELEMENT> into <workshopform_numerrors_dimension> and stores it for later writing

Returns:
array to be written to workshop.xml

Definition at line 56 of file lib.php.

Here is the call graph for this function:


Field Documentation

$dimensions = array() [protected]

Definition at line 41 of file lib.php.

$mappings = array() [protected]

Definition at line 38 of file lib.php.


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