Base class for all grading evaluation subplugins.
More...
|
| get_settings_form (moodle_url $actionurl=null) |
| Returns an instance of the form to provide evaluation settings.
|
|
| update_grading_grades (stdClass $settings, $restrict=null) |
| Calculates grades for assessment and updates 'gradinggrade' fields in 'workshop_assessments' table.
|
|
|
static | delete_instance ($workshopid) |
| Delete all data related to a given workshop module instance.
|
|
|
workshop | $workshop |
| the parent workshop instance
|
|
Base class for all grading evaluation subplugins.
◆ delete_instance()
static workshop_evaluation::delete_instance |
( |
| $workshopid | ) |
|
|
static |
◆ get_settings_form()
workshop_evaluation::get_settings_form |
( |
moodle_url | $actionurl = null | ) |
|
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 values
-
Reimplemented in workshop_best_evaluation.
◆ update_grading_grades()
workshop_evaluation::update_grading_grades |
( |
stdClass | $settings, |
|
|
| $restrict = null ) |
|
abstract |
Calculates grades for assessment and updates 'gradinggrade' fields in 'workshop_assessments' table.
- Parameters
-
stdClass | $settings | settings for this round of evaluation |
null | int | array | $restrict | if null, update all reviewers, otherwise update just grades for the given reviewers(s) |
The documentation for this class was generated from the following file:
- mod/workshop/eval/lib.php