Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Static Public Member Functions | |
static | delete_data_for_all_users_in_context (\context $context) |
Delete all data for all users in the specified context. | |
static | delete_data_for_user (approved_contextlist $contextlist) |
Delete all user data for the specified user, in the specified 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 specified user, in the specified contexts. | |
static | get_contexts_for_userid (int $userid) |
Get the list of contexts that contain user information for the specified user. | |
static | get_metadata (collection $collection) |
Returns meta data about this system. | |
static | get_users_in_context (userlist $userlist) |
Get the list of users within a specific context. | |
|
static |
Delete all data for all users in the specified context.
context | $context |
Implements core_privacy\local\request\core_user_data_provider.
|
static |
Delete all user data for the specified user, in the specified contexts.
approved_contextlist | $contextlist |
Implements core_privacy\local\request\core_user_data_provider.
|
static |
Delete multiple users within a single context.
approved_userlist | $userlist | The approved context and user information to delete information for. |
Implements core_privacy\local\request\core_userlist_provider.
|
static |
Export all user data for the specified user, in the specified contexts.
approved_contextlist | $contextlist |
Implements core_privacy\local\request\core_user_data_provider.
|
static |
Get the list of contexts that contain user information for the specified user.
int | $userid |
contextlist |
Implements core_privacy\local\request\core_user_data_provider.
|
static |
Returns meta data about this system.
collection | $collection |
collection |
Implements core_privacy\local\metadata\provider.
|
static |
Get the list of users within a specific context.
userlist | $userlist | The userlist containing the list of users who have data in this context/plugin combination. |
Implements core_privacy\local\request\core_userlist_provider.