Data provider class.
More...
Data provider class.
- Copyright
- 2018 Frédéric Massart
- Author
- Frédéric Massart fred@.nosp@m.bran.nosp@m.chup..nosp@m.tech
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ add_contexts_for_userid()
static logstore_standard\privacy\provider::add_contexts_for_userid |
( |
contextlist | $contextlist, |
|
|
| $userid ) |
|
static |
Add contexts that contain user information for the specified user.
- Parameters
-
contextlist | $contextlist | The contextlist to add the contexts to. |
int | $userid | The user to find the contexts for. |
- Return values
-
Implements tool_log\local\privacy\logstore_provider.
◆ add_userids_for_context()
◆ delete_data_for_all_users_in_context()
static tool_log\local\privacy\logstore_provider::delete_data_for_all_users_in_context |
( |
context | $context | ) |
|
|
staticinherited |
Delete all data for all users in the specified context.
- Parameters
-
context | $context | The specific context to delete data for. |
- Return values
-
◆ delete_data_for_user()
static tool_log\local\privacy\logstore_provider::delete_data_for_user |
( |
approved_contextlist | $contextlist | ) |
|
|
staticinherited |
Delete all user data for the specified user, in the specified contexts.
- Parameters
-
approved_contextlist | $contextlist | The approved contexts and user information to delete information for. |
- Return values
-
◆ delete_data_for_userlist()
Delete all data for a list of users in the specified context.
- Parameters
-
- Return values
-
◆ export_user_data()
static tool_log\local\privacy\logstore_provider::export_user_data |
( |
approved_contextlist | $contextlist | ) |
|
|
staticinherited |
Export all user data for the specified user, in the specified contexts.
- Parameters
-
approved_contextlist | $contextlist | The approved contexts to export information for. |
- Return values
-
◆ get_database_and_table()
static logstore_standard\privacy\provider::get_database_and_table |
( |
| ) |
|
|
staticprotected |
Get the database object.
- Return values
-
◆ get_export_subcontext()
static logstore_standard\privacy\provider::get_export_subcontext |
( |
| ) |
|
|
staticprotected |
Get the path to export the logs to.
- Return values
-
◆ get_metadata()
static logstore_standard\privacy\provider::get_metadata |
( |
collection | $collection | ) |
|
|
static |
Returns metadata.
- 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.
The documentation for this class was generated from the following file:
- admin/tool/log/store/standard/classes/privacy/provider.php