Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_assign\privacy\assignsubmission_user_provider Interface Reference
Inheritance diagram for mod_assign\privacy\assignsubmission_user_provider:
core_privacy\local\request\plugin\subplugin_provider core_privacy\local\request\shared_userlist_provider core_privacy\local\request\shared_data_provider core_privacy\local\request\userlist_provider core_privacy\local\request\data_provider assignsubmission_comments\privacy\provider assignsubmission_file\privacy\provider assignsubmission_onlinetext\privacy\provider

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.
 

Member Function Documentation

◆ delete_submissions()

static mod_assign\privacy\assignsubmission_user_provider::delete_submissions ( assign_plugin_request_data $deletedata)
static

Deletes all submissions for the submission ids / userids provided in a context.

assign_plugin_request_data contains:

  • context
  • assign object
  • submission ids (pluginids)
  • user ids
    Parameters
    assign_plugin_request_data$deletedataA class that contains the relevant information required for deletion.

Implemented in assignsubmission_comments\privacy\provider, assignsubmission_file\privacy\provider, and assignsubmission_onlinetext\privacy\provider.

◆ get_userids_from_context()

static mod_assign\privacy\assignsubmission_user_provider::get_userids_from_context ( userlist $userlist)
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.

Parameters
userlist$userlistThe userlist object

The documentation for this interface was generated from the following file: