Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are 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: 161 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: restore_workshopform_comments_subplugin  - X-Ref

restore subplugin class that provides the necessary information
needed to restore one workshopform_comments 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_comments_dimension($data)   X-Ref
Processes the workshopform_comments_dimension element


process_workshopform_comments_referencegrade($data)   X-Ref
Processes the workshopform_comments_referencegrade element


process_workshopform_comments_examplegrade($data)   X-Ref
Processes the workshopform_comments_examplegrade element


process_workshopform_comments_grade($data)   X-Ref
Processes the workshopform_comments_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