Privacy provider for core_role.
More...
Privacy provider for core_role.
- Copyright
- 2018 Carlos Escobedo carlo.nosp@m.s@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ delete_data_for_all_users_in_context()
static core_role\privacy\provider::delete_data_for_all_users_in_context |
( |
\context | $context | ) |
|
|
static |
◆ delete_data_for_user()
◆ delete_data_for_users()
static core_role\privacy\provider::delete_data_for_users |
( |
approved_userlist | $userlist | ) |
|
|
static |
◆ delete_user_role_to_cohort()
static core_role\privacy\provider::delete_user_role_to_cohort |
( |
int | $userid | ) |
|
|
static |
Delete user entries in role_assignments related to the feature Assign user roles to cohort feature.
- Parameters
-
◆ export_user_data()
◆ export_user_preferences()
static core_role\privacy\provider::export_user_preferences |
( |
int | $userid | ) |
|
|
static |
◆ export_user_role_to_cohort()
static core_role\privacy\provider::export_user_role_to_cohort |
( |
int | $userid | ) |
|
|
static |
Exports the data relating to tool_cohortroles component on role assignments by Assign user roles to cohort feature.
- Parameters
-
◆ get_contexts_for_userid()
static core_role\privacy\provider::get_contexts_for_userid |
( |
int | $userid | ) |
|
|
static |
◆ get_metadata()
static core_role\privacy\provider::get_metadata |
( |
collection | $collection | ) |
|
|
static |
Get information about the user data stored by this plugin.
- Parameters
-
collection | $collection | An object for storing metadata. |
- Return values
-
Implements core_privacy\local\metadata\provider.
◆ get_permissions_name()
static core_role\privacy\provider::get_permissions_name |
( |
| ) |
|
|
staticprotected |
Get all the permissions name in a simple array.
- Return values
-
array | Array of permissions name. |
◆ get_roles_name()
static core_role\privacy\provider::get_roles_name |
( |
| ) |
|
|
staticprotected |
Get all the localised roles name in a simple array.
- Return values
-
array | Array of name of the roles by roleid. |
◆ get_users_in_context()
static core_role\privacy\provider::get_users_in_context |
( |
userlist | $userlist | ) |
|
|
static |
The documentation for this class was generated from the following file:
- admin/roles/classes/privacy/provider.php