Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Static Public Member Functions | List of all members
mod_assign\privacy\assignfeedback_user_provider Interface Reference
Inheritance diagram for mod_assign\privacy\assignfeedback_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 assignfeedback_comments\privacy\provider assignfeedback_editpdf\privacy\provider assignfeedback_file\privacy\provider

Static Public Member Functions

static delete_feedback_for_grades (assign_plugin_request_data $deletedata)
 Deletes all feedback for the grade ids / userids provided in a context. More...
 
static get_userids_from_context (\core_privacy\local\request\userlist $userlist)
 If you have tables that contain userids and you can generate entries in your tables without creating an entry in the assign_grades table then please fill in this method. More...
 

Member Function Documentation

◆ delete_feedback_for_grades()

static mod_assign\privacy\assignfeedback_user_provider::delete_feedback_for_grades ( assign_plugin_request_data  $deletedata)
static

Deletes all feedback for the grade ids / userids provided in a context.

assign_plugin_request_data contains:

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

Implemented in assignfeedback_comments\privacy\provider, assignfeedback_editpdf\privacy\provider, and assignfeedback_file\privacy\provider.

◆ get_userids_from_context()

static mod_assign\privacy\assignfeedback_user_provider::get_userids_from_context ( \core_privacy\local\request\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_grades table then please fill in this method.

Parameters
core_privacy::local::request::userlist$userlistThe userlist object

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