Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
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. 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...
 

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_onlinetext\privacy\provider, assignsubmission_file\privacy\provider, and assignsubmission_comments\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: