Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(no description)

Copyright: 2010 onwards David Mudrak <david@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 175 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: restore_workshopform_numerrors_subplugin  - X-Ref

restore subplugin class that provides the necessary information
needed to restore one workshopform_numerrors subplugin.

define_workshop_subplugin_structure()   X-Ref
Returns the paths to be handled by the subplugin at workshop level


define_referenceassessment_subplugin_structure()   X-Ref
Returns the paths to be handled by the subplugin at referenceassessment level


define_exampleassessment_subplugin_structure()   X-Ref
Returns the paths to be handled by the subplugin at exampleassessment level


define_assessment_subplugin_structure()   X-Ref
Returns the paths to be handled by the subplugin at assessment level


process_workshopform_numerrors_map($data)   X-Ref
Processes the workshopform_numerrors_map element


process_workshopform_numerrors_dimension($data)   X-Ref
Processes the workshopform_numerrors_dimension element


process_workshopform_numerrors_referencegrade($data)   X-Ref
Processes the workshopform_numerrors_referencegrade element


process_workshopform_numerrors_examplegrade($data)   X-Ref
Processes the workshopform_numerrors_examplegrade element


process_workshopform_numerrors_grade($data)   X-Ref
Processes the workshopform_numerrors_grade element


process_dimension_grades_structure($elementname, $data)   X-Ref
Process the dimension grades linked with the given type of assessment

Populates the workshop_grades table with new records mapped to the restored
instances of assessments.

param: mixed $elementname the name of the assessment element
param: array $data parsed xml data