Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
auth_lti\privacy\provider Class Reference
Inheritance diagram for auth_lti\privacy\provider:
core_privacy\local\metadata\provider core_privacy\local\request\plugin\provider core_privacy\local\request\core_userlist_provider core_privacy\local\request\core_user_data_provider core_privacy\local\request\userlist_provider core_privacy\local\request\core_data_provider core_privacy\local\request\data_provider

Static Public Member Functions

static delete_data_for_all_users_in_context (\context $context)
 Delete all user data for this context.
 
static delete_data_for_user (approved_contextlist $contextlist)
 Delete user data in the list of given contexts.
 
static delete_data_for_users (approved_userlist $userlist)
 Delete multiple users within a single context.
 
static export_user_data (approved_contextlist $contextlist)
 Export all user data for the user in the identified contexts.
 
static get_contexts_for_userid (int $userid)
 Get all contexts contain user information for the given user.
 
static get_metadata (collection $collection)
 Description of the metadata stored for users in auth_lti.
 
static get_users_in_context (userlist $userlist)
 Get the list of users within a specific context.
 

Static Protected Member Functions

static delete_user_data (int $userid)
 Delete user data for the user.
 

Member Function Documentation

◆ delete_data_for_all_users_in_context()

static auth_lti\privacy\provider::delete_data_for_all_users_in_context ( \context $context)
static

Delete all user data for this context.

Parameters
context$contextThe context to delete data for.

Implements core_privacy\local\request\core_user_data_provider.

◆ delete_data_for_user()

static auth_lti\privacy\provider::delete_data_for_user ( approved_contextlist $contextlist)
static

Delete user data in the list of given contexts.

Parameters
approved_contextlist$contextlistthe list of contexts.

Implements core_privacy\local\request\core_user_data_provider.

◆ delete_data_for_users()

static auth_lti\privacy\provider::delete_data_for_users ( approved_userlist $userlist)
static

Delete multiple users within a single context.

Parameters
approved_userlist$userlistThe approved context and user information to delete information for.

Implements core_privacy\local\request\core_userlist_provider.

◆ delete_user_data()

static auth_lti\privacy\provider::delete_user_data ( int $userid)
staticprotected

Delete user data for the user.

Parameters
int$useridThe id of the user.

◆ export_user_data()

static auth_lti\privacy\provider::export_user_data ( approved_contextlist $contextlist)
static

Export all user data for the user in the identified contexts.

Parameters
approved_contextlist$contextlistthe list of approved contexts for the user.

Implements core_privacy\local\request\core_user_data_provider.

◆ get_contexts_for_userid()

static auth_lti\privacy\provider::get_contexts_for_userid ( int $userid)
static

Get all contexts contain user information for the given user.

Parameters
int$useridthe id of the user.
Return values
contextlistthe list of contexts containing user information.

Implements core_privacy\local\request\core_user_data_provider.

◆ get_metadata()

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

Description of the metadata stored for users in auth_lti.

Parameters
collection$collectiona collection to add to.
Return values
collectionthe collection, with relevant metadata descriptions for auth_lti added.

Implements core_privacy\local\metadata\provider.

◆ get_users_in_context()

static auth_lti\privacy\provider::get_users_in_context ( userlist $userlist)
static

Get the list of users within a specific context.

Parameters
userlist$userlistThe userlist containing the list of users who have data in this context/plugin combination.

Implements core_privacy\local\request\core_userlist_provider.


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