Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
mod_assign\privacy\assignfeedback_user_provider Interface Reference
Inheritance diagram for mod_assign\privacy\assignfeedback_user_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.
 
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.
 

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: