Privacy Subsystem implementation for editor_atto.
More...
Privacy Subsystem implementation for editor_atto.
- Copyright
- 2018 Andrew Nicols andre.nosp@m.w@ni.nosp@m.cols..nosp@m.co.u.nosp@m.k
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ delete_data_for_all_users_in_context()
static editor_atto\privacy\provider::delete_data_for_all_users_in_context |
( |
\context | $context | ) |
|
|
static |
◆ delete_data_for_user()
◆ delete_data_for_users()
static editor_atto\privacy\provider::delete_data_for_users |
( |
approved_userlist | $userlist | ) |
|
|
static |
◆ export_autosaves()
static editor_atto\privacy\provider::export_autosaves |
( |
\stdClass | $user, |
|
|
moodle_recordset | $autosaves ) |
|
staticprotected |
Export all autosave records in the recordset, and close the recordset when finished.
- Parameters
-
stdClass | $user | The user whose data is to be exported |
moodle_recordset | $autosaves | The recordset containing the data to export |
◆ export_user_data()
◆ get_contexts_for_userid()
static editor_atto\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_filter_options()
static editor_atto\privacy\provider::get_filter_options |
( |
| ) |
|
|
static |
Get the filter options.
This is shared to allow unit testing too.
- Return values
-
◆ get_metadata()
static editor_atto\privacy\provider::get_metadata |
( |
collection | $collection | ) |
|
|
static |
Returns information about how editor_atto stores its data.
- 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 editor_atto\privacy\provider::get_users_in_context |
( |
userlist | $userlist | ) |
|
|
static |
The documentation for this class was generated from the following file:
- lib/editor/atto/classes/privacy/provider.php