%PDF- %PDF-
Direktori : /home/vacivi36/ava/mod/workshop/classes/privacy/ |
Current File : /home/vacivi36/ava/mod/workshop/classes/privacy/workshopform_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/>. /** * Provides {@link mod_workshop\privacy\workshopform_provider} interface. * * @package mod_workshop * @category privacy * @copyright 2018 David Mudrák <david@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace mod_workshop\privacy; defined('MOODLE_INTERNAL') || die(); /** * Interface for grading strategy subplugins implementing the privacy API. * * @copyright 2018 David Mudrák <david@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ interface workshopform_provider extends \core_privacy\local\request\plugin\subplugin_provider, \core_privacy\local\request\shared_userlist_provider { /** * Return details of the filled assessment form. * * @param stdClass $user User we are exporting data for * @param context $context The workshop activity context * @param array $subcontext Subcontext within the context to export to * @param int $assessmentid ID of the assessment */ public static function export_assessment_form(\stdClass $user, \context $context, array $subcontext, int $assessmentid); }