X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tool/log/classes/local/privacy
home
/
cbholdings
/
pasukulu
/
admin
/
tool
/
log
/
classes
/
local
/
privacy
/
📁
..
📄
helper.php
(4.87 KB)
📄
logstore_provider.php
(2.67 KB)
📄
logstore_userlist_provider.php
(2.08 KB)
📄
moodle_database_export_and_delete.php
(5.3 KB)
Editing: logstore_provider.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Logstore provider interface. * * @package tool_log * @copyright 2018 Frédéric Massart * @author Frédéric Massart <fred@branchup.tech> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace tool_log\local\privacy; defined('MOODLE_INTERNAL') || die(); use context; use core_privacy\local\request\contextlist; use core_privacy\local\request\approved_contextlist; /** * Logstore provider interface. * * Logstore subplugins providers must implement this interface. * * @package tool_log * @copyright 2018 Frédéric Massart * @author Frédéric Massart <fred@branchup.tech> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ interface logstore_provider extends \core_privacy\local\request\plugin\subplugin_provider { /** * Add contexts that contain user information for the specified user. * * @param contextlist $contextlist The contextlist to add the contexts to. * @param int $userid The user to find the contexts for. * @return void */ public static function add_contexts_for_userid(contextlist $contextlist, $userid); /** * Export all user data for the specified user, in the specified contexts. * * @param approved_contextlist $contextlist The approved contexts to export information for. * @return void */ public static function export_user_data(approved_contextlist $contextlist); /** * Delete all data for all users in the specified context. * * @param context $context The specific context to delete data for. * @return void */ public static function delete_data_for_all_users_in_context(context $context); /** * 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. * @return void */ public static function delete_data_for_user(approved_contextlist $contextlist); }
Upload File
Create Folder