Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

This file defines interface of all grading evaluation classes

Copyright: 2009 David Mudrak <david.mudrak@gmail.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 98 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

workshop_evaluation:: (2 methods):
  get_settings_form()
  delete_instance()

workshop_evaluation_settings_form:: (2 methods):
  definition()
  definition_sub()


Class: workshop_evaluation  - X-Ref

Base class for all grading evaluation subplugins.

get_settings_form(moodle_url $actionurl=null)   X-Ref
Returns an instance of the form to provide evaluation settings.

This is called by view.php (to display) and aggregate.php (to process and dispatch).
It returns the basic form with just the submit button by default. Evaluators may
extend or overwrite the default form to include some custom settings.

return: workshop_evaluation_settings_form

delete_instance($workshopid)   X-Ref
Delete all data related to a given workshop module instance

This is called from {@link workshop_delete_instance()}.

param: int $workshopid id of the workshop module instance being deleted
return: void

Class: workshop_evaluation_settings_form  - X-Ref

Base form to hold eventual evaluation settings.

definition()   X-Ref
Defines the common form fields.


definition_sub()   X-Ref
Defines the subplugin specific fields.