Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
core_grading\privacy\gradingform_provider Interface Reference
Inheritance diagram for core_grading\privacy\gradingform_provider:
core_privacy\local\request\plugin\subsystem_provider core_privacy\local\deprecated core_privacy\local\request\shared_data_provider core_privacy\local\request\data_provider

Static Public Member Functions

static delete_gradingform_for_context (\context $context)
 Any call to this method should delete all user data for the context defined. More...
 
static delete_gradingform_for_userid (int $userid, context $context)
 A call to this method should delete user data (where practicle) from the userid and context. More...
 
static get_gradingform_export_data (\context $context, $definition, int $userid)
 This method is used to export any user data this sub-plugin has using the object to get the context and userid. More...
 

Member Function Documentation

◆ delete_gradingform_for_context()

static core_grading\privacy\gradingform_provider::delete_gradingform_for_context ( \context  $context)
static

Any call to this method should delete all user data for the context defined.

Deprecated:
since Moodle 3.6 MDL-62535 Please use the methods in the gradingform_provider_v2 interface
Todo:
MDL-63167 Remove this file.
Parameters
context$contextContext owner of the data.

◆ delete_gradingform_for_userid()

static core_grading\privacy\gradingform_provider::delete_gradingform_for_userid ( int  $userid,
context  $context 
)
static

A call to this method should delete user data (where practicle) from the userid and context.

Deprecated:
since Moodle 3.6 MDL-62535 Please use the methods in the gradingform_provider_v2 interface
Todo:
MDL-63167 Remove this file.
Parameters
int$useridThe user to delete.
context$contextthe context to refine the deletion.

◆ get_gradingform_export_data()

static core_grading\privacy\gradingform_provider::get_gradingform_export_data ( \context  $context,
  $definition,
int  $userid 
)
static

This method is used to export any user data this sub-plugin has using the object to get the context and userid.

Deprecated:
since Moodle 3.6 MDL-62535 Please use the methods in the gradingform_provider_v2 interface
Todo:
MDL-63167 Remove this file.
Parameters
context$contextContext owner of the data.
stdClass$definitionGrading definition entry to export.
int$useridThe user whose information is to be exported.
Return values
stdClassThe data to export.

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