Privacy provider.
Author: | Mikhail Golenkov <golenkovm@gmail.com> |
Copyright: | Catalyst IT |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 217 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
provider:: (7 methods):
get_metadata()
get_contexts_for_userid()
get_users_in_context()
export_user_data()
delete_data_for_all_users_in_context()
delete_data_for_user()
delete_data_for_users()
get_metadata(collection $collection) X-Ref |
Returns metadata about this plugin's privacy policy. param: collection $collection The initialised collection to add items to. return: collection A listing of user data stored through this system. |
get_contexts_for_userid(int $userid) X-Ref |
Get the list of contexts that contain user information for the given user. param: int $userid the userid to search. return: contextlist the contexts in which data is contained. |
get_users_in_context(userlist $userlist) X-Ref |
Gets the list of users who have data with a context. Secrets context is a subset of this table. param: userlist $userlist the userlist containing users who have data in this context. return: void |
export_user_data(approved_contextlist $contextlist) X-Ref |
Exports all data stored in provided contexts for user. Secrets should not be exported as they are transient. param: approved_contextlist $contextlist the list of contexts to export for. return: void |
delete_data_for_all_users_in_context(\context $context) X-Ref |
Deletes data for all users in context. param: context $context The context to delete for. return: void |
delete_data_for_user(approved_contextlist $contextlist) X-Ref |
Deletes all data in all provided contexts for user. param: approved_contextlist $contextlist the list of contexts to delete for. return: void |
delete_data_for_users(approved_userlist $userlist) X-Ref |
Given a userlist, deletes all data in all provided contexts for the users param: approved_userlist $userlist the list of users to delete data for return: void |