Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Privacy Subsystem implementation for block_html. More...
Static Public Member Functions | |
static | delete_data_for_all_users_in_context (\context $context) |
Delete all data for all users in the specified context. More... | |
static | delete_data_for_user (approved_contextlist $contextlist) |
Delete all user data for the specified user, in the specified contexts. More... | |
static | delete_data_for_users (approved_userlist $userlist) |
Delete multiple users within a single context. More... | |
static | export_user_data (approved_contextlist $contextlist) |
Export all user data for the specified user, in the specified contexts. More... | |
static | get_contexts_for_userid (int $userid) |
Get the list of contexts that contain user information for the specified user. More... | |
static | get_metadata (collection $collection) |
Returns information about how block_html stores its data. More... | |
static | get_users_in_context (userlist $userlist) |
Get the list of users who have data within a context. More... | |
Static Protected Member Functions | |
static | get_instance_from_context (\context_block $context) |
Get the block instance record for the specified context. More... | |
Privacy Subsystem implementation for block_html.
|
static |
Delete all data for all users in the specified context.
context | $context | The specific context to delete data for. |
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 | The approved contexts and user information to delete information for. |
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 | The approved contexts to export information for. |
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 | The user to search. |
contextlist::$contextlist | The contextlist containing the list of contexts used in this plugin. |
Implements core_privacy\local\request\core_user_data_provider.
|
staticprotected |
Get the block instance record for the specified context.
context_block | $context | The context to fetch |
stdClass |
|
static |
Returns information about how block_html stores its data.
collection | $collection | The initialised collection to add items to. |
collection | A listing of user data stored through this system. |
Implements core_privacy\local\metadata\provider.
|
static |
Get the list of users who have data within a 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.