Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
gradingform_rubric\privacy\provider Class Reference

Privacy class for requesting user data. More...

Inheritance diagram for gradingform_rubric\privacy\provider:
core_privacy\local\metadata\provider 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

Static Public Member Functions

static delete_gradingform_for_instances (array $instanceids)
 Deletes all user data related to the provided instance IDs. More...
 
static export_gradingform_instance_data (\context $context, int $instanceid, array $subcontext)
 Export user data relating to an instance ID. More...
 
static get_metadata (collection $collection)
 Returns meta data about this system. More...
 

Detailed Description

Privacy class for requesting user data.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ delete_gradingform_for_instances()

static gradingform_rubric\privacy\provider::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.

Implements core_grading\privacy\gradingform_provider_v2.

◆ export_gradingform_instance_data()

static gradingform_rubric\privacy\provider::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.

Implements core_grading\privacy\gradingform_provider_v2.

◆ get_metadata()

static gradingform_rubric\privacy\provider::get_metadata ( collection  $collection)
static

Returns meta data about this system.

Parameters
collection$collectionThe initialised collection to add items to.
Return values
collectionA listing of user data stored through this system.

Implements core_privacy\local\metadata\provider.


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