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

Public Member Functions

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

Protected Member Functions

 convert_legacy_criterion_elements ()
 convert_legacy_rubric_elements ()

Protected Attributes

 $elements = array()
 $rubrics = array()

Detailed Description

Conversion handler for the rubric grading strategy data

Definition at line 34 of file lib.php.


Member Function Documentation

Processes gathered elements coming from the legacy criterion strategy

Legacy criterion strategy is converted to a rubric with single rubric item and the layout set to 'list'.

Definition at line 89 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Processes gathered elements coming from the legacy rubric strategy

Definition at line 120 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Processes gathered elements and rubrics

Reimplemented from moodle1_workshopform_handler.

Definition at line 68 of file lib.php.

Here is the call graph for this function:

Prepare to gather legacy elements info for a new workshop instance

Reimplemented from moodle1_workshopform_handler.

Definition at line 45 of file lib.php.

process_legacy_element ( data,
raw 
)

Processes one <ELEMENT>

Definition at line 53 of file lib.php.

process_legacy_rubric ( data,
raw 
)

Processes one <RUBRIC>

Definition at line 61 of file lib.php.


Field Documentation

$elements = array() [protected]

Definition at line 37 of file lib.php.

$rubrics = array() [protected]

Definition at line 40 of file lib.php.


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