Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Static Public Member Functions | |
static | delete_submissions (assign_plugin_request_data $deletedata) |
Deletes all submissions for the submission ids / userids provided in a context. More... | |
static | get_userids_from_context (userlist $userlist) |
If you have tables that contain userids and you can generate entries in your tables without creating an entry in the assign_submission table then please fill in this method. More... | |
|
static |
Deletes all submissions for the submission ids / userids provided in a context.
assign_plugin_request_data contains:
assign_plugin_request_data | $deletedata | A class that contains the relevant information required for deletion. |
Implemented in assignsubmission_onlinetext\privacy\provider, assignsubmission_file\privacy\provider, and assignsubmission_comments\privacy\provider.
|
static |
If you have tables that contain userids and you can generate entries in your tables without creating an entry in the assign_submission table then please fill in this method.
userlist | $userlist | The userlist object |