Privacy Subsystem for enrol_flatfile implementing null_provider.
More...
Privacy Subsystem for enrol_flatfile implementing null_provider.
- 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 enrol_flatfile\privacy\provider::delete_data_for_all_users_in_context |
( |
\context | $context | ) |
|
|
static |
◆ delete_data_for_user()
◆ delete_data_for_users()
static enrol_flatfile\privacy\provider::delete_data_for_users |
( |
approved_userlist | $userlist | ) |
|
|
static |
◆ export_user_data()
◆ get_contexts_for_userid()
static enrol_flatfile\privacy\provider::get_contexts_for_userid |
( |
int | $userid | ) |
|
|
static |
Get the list of contexts that contain user information for the specified user.
- Parameters
-
int | $userid | The user to search. |
- Return values
-
contextlist\$contextlist | The contextlist containing the list of contexts used in this plugin. |
Implements core_privacy\local\request\core_user_data_provider.
◆ get_metadata()
static enrol_flatfile\privacy\provider::get_metadata |
( |
collection | $collection | ) |
|
|
static |
Returns meta data about this system.
- Parameters
-
collection | $collection | The initialised collection to add items to. |
- Return values
-
collection | A listing of user data stored through this system. |
Implements core_privacy\local\metadata\provider.
◆ get_users_in_context()
static enrol_flatfile\privacy\provider::get_users_in_context |
( |
userlist | $userlist | ) |
|
|
static |
◆ validate_contextlist_contexts()
static enrol_flatfile\privacy\provider::validate_contextlist_contexts |
( |
approved_contextlist | $contextlist | ) |
|
|
staticprotected |
Simple sanity check on the contextlist contexts, making sure they're of CONTEXT_COURSE contextlevel.
- Parameters
-
approved_contextlist | $contextlist | |
- Return values
-
array | the array of contexts filtered to only include those of CONTEXT_COURSE contextlevel. |
The documentation for this class was generated from the following file:
- enrol/flatfile/classes/privacy/provider.php