Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
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_comments\privacy\provider, assignsubmission_file\privacy\provider, and assignsubmission_onlinetext\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 |