Moodle database: export and delete.
Author: | Frédéric Massart <fred@branchup.tech> |
Copyright: | 2018 Frédéric Massart |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 138 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
export_user_data(approved_contextlist $contextlist) X-Ref |
Export all user data for the specified user, in the specified contexts. param: approved_contextlist $contextlist The approved contexts to export information for. |
delete_data_for_all_users_in_context(context $context) X-Ref |
Delete all data for all users in the specified context. param: context $context The specific context to delete data for. |
delete_data_for_user(approved_contextlist $contextlist) X-Ref |
Delete all user data for the specified user, in the specified contexts. param: approved_contextlist $contextlist The approved contexts and user information to delete information for. |
delete_data_for_userlist(\core_privacy\local\request\approved_userlist $userlist) X-Ref |
Delete all user data for the specified users, in the specified context. param: \core_privacy\local\request\approved_userlist $contextlist The approved contexts and user information to delete information for. |