Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core_grading\privacy\gradingform_provider_v2 Interface Reference
Inheritance diagram for core_grading\privacy\gradingform_provider_v2:
core_privacy\local\request\plugin\subsystem_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 gradingform_guide\privacy\provider gradingform_rubric\privacy\provider

Static Public Member Functions

static delete_gradingform_for_instances (array $instanceids)
 Deletes all user data related to the provided instance IDs.
 
static export_gradingform_instance_data (\context $context, int $instanceid, array $subcontext)
 Export user data relating to an instance ID.
 

Member Function Documentation

◆ delete_gradingform_for_instances()

static core_grading\privacy\gradingform_provider_v2::delete_gradingform_for_instances ( array $instanceids)
static

Deletes all user data related to the provided instance IDs.

Parameters
array$instanceidsThe instance IDs to delete information from.

Implemented in gradingform_guide\privacy\provider, and gradingform_rubric\privacy\provider.

◆ export_gradingform_instance_data()

static core_grading\privacy\gradingform_provider_v2::export_gradingform_instance_data ( \context $context,
int $instanceid,
array $subcontext )
static

Export user data relating to an instance ID.

Parameters
context$contextContext to use with the export writer.
int$instanceidThe instance ID to export data for.
array$subcontextThe directory to export this data to.

Implemented in gradingform_guide\privacy\provider, and gradingform_rubric\privacy\provider.


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