Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Base class for all grading evaluation subplugins. More...
Public Member Functions | |
get_settings_form (moodle_url $actionurl=null) | |
Returns an instance of the form to provide evaluation settings. More... | |
update_grading_grades (stdClass $settings, $restrict=null) | |
Calculates grades for assessment and updates 'gradinggrade' fields in 'workshop_assessments' table. More... | |
Static Public Member Functions | |
static | delete_instance ($workshopid) |
Delete all data related to a given workshop module instance. More... | |
Base class for all grading evaluation subplugins.
|
static |
Delete all data related to a given workshop module instance.
This is called from workshop_delete_instance().
int | $workshopid | id of the workshop module instance being deleted |
void |
Reimplemented in workshop_best_evaluation.
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.
workshop_evaluation_settings_form |
Reimplemented in workshop_best_evaluation.
|
abstract |
Calculates grades for assessment and updates 'gradinggrade' fields in 'workshop_assessments' table.
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) |