Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Static Public Member Functions | |
static | delete_submissions (assign_plugin_request_data $deletedata) |
Deletes all submissions for the submission ids / userids provided in a context. | |
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. | |
|
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 |