1 |
efrain |
1 |
<?php
|
|
|
2 |
// This file is part of Moodle - http://moodle.org/
|
|
|
3 |
//
|
|
|
4 |
// Moodle is free software: you can redistribute it and/or modify
|
|
|
5 |
// it under the terms of the GNU General Public License as published by
|
|
|
6 |
// the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
// (at your option) any later version.
|
|
|
8 |
//
|
|
|
9 |
// Moodle is distributed in the hope that it will be useful,
|
|
|
10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
// GNU General Public License for more details.
|
|
|
13 |
//
|
|
|
14 |
// You should have received a copy of the GNU General Public License
|
|
|
15 |
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* This file contains mappings for classes that have been renamed.
|
|
|
19 |
*
|
|
|
20 |
* @package mod_quiz
|
|
|
21 |
* @copyright 2022 The Open University
|
|
|
22 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
defined('MOODLE_INTERNAL') || die();
|
|
|
26 |
|
|
|
27 |
$renamedclasses = [
|
|
|
28 |
// Since Moodle 4.1.
|
|
|
29 |
'mod_quiz\local\views\secondary' => 'mod_quiz\navigation\views\secondary',
|
|
|
30 |
// Since Moodle 4.2.
|
|
|
31 |
'mod_quiz_display_options' => 'mod_quiz\question\display_options',
|
|
|
32 |
'qubaids_for_quiz' => 'mod_quiz\question\qubaids_for_quiz',
|
|
|
33 |
'qubaids_for_quiz_user' => 'mod_quiz\question\qubaids_for_quiz_user',
|
|
|
34 |
'mod_quiz_admin_setting_browsersecurity' => 'mod_quiz\admin\browser_security_setting',
|
|
|
35 |
'mod_quiz_admin_setting_grademethod' => 'mod_quiz\admin\grade_method_setting',
|
|
|
36 |
'mod_quiz_admin_setting_overduehandling' => 'mod_quiz\admin\overdue_handling_setting',
|
|
|
37 |
'mod_quiz_admin_review_setting' => 'mod_quiz\admin\review_setting',
|
|
|
38 |
'mod_quiz_admin_setting_user_image' => 'mod_quiz\admin\user_image_setting',
|
|
|
39 |
'mod_quiz\adminpresets\adminpresets_mod_quiz_admin_setting_browsersecurity' =>
|
|
|
40 |
'mod_quiz\adminpresets\adminpresets_browser_security_setting',
|
|
|
41 |
'mod_quiz\adminpresets\adminpresets_mod_quiz_admin_setting_grademethod' =>
|
|
|
42 |
'mod_quiz\adminpresets\adminpresets_grade_method_setting',
|
|
|
43 |
'mod_quiz\adminpresets\adminpresets_mod_quiz_admin_setting_overduehandling' =>
|
|
|
44 |
'mod_quiz\adminpresets\adminpresets_overdue_handling_setting',
|
|
|
45 |
'mod_quiz\adminpresets\adminpresets_mod_quiz_admin_review_setting' =>
|
|
|
46 |
'mod_quiz\adminpresets\adminpresets_review_setting',
|
|
|
47 |
'mod_quiz\adminpresets\adminpresets_mod_quiz_admin_setting_user_image' =>
|
|
|
48 |
'mod_quiz\adminpresets\adminpresets_user_image_setting',
|
|
|
49 |
'quiz_default_report' => 'mod_quiz\local\reports\report_base',
|
|
|
50 |
'quiz_attempts_report' => 'mod_quiz\local\reports\attempts_report',
|
|
|
51 |
'mod_quiz_attempts_report_form' => 'mod_quiz\local\reports\attempts_report_options_form',
|
|
|
52 |
'mod_quiz_attempts_report_options' => 'mod_quiz\local\reports\attempts_report_options',
|
|
|
53 |
'quiz_attempts_report_table' => 'mod_quiz\local\reports\attempts_report_table',
|
|
|
54 |
'quiz_access_manager' => 'mod_quiz\access_manager',
|
|
|
55 |
'mod_quiz_preflight_check_form' => 'mod_quiz\form\preflight_check_form',
|
|
|
56 |
'quiz_override_form' => 'mod_quiz\form\edit_override_form',
|
|
|
57 |
'quiz_access_rule_base' => 'mod_quiz\local\access_rule_base',
|
|
|
58 |
'quiz_add_random_form' => 'mod_quiz\form\add_random_form',
|
|
|
59 |
'mod_quiz_links_to_other_attempts' => 'mod_quiz\output\links_to_other_attempts',
|
|
|
60 |
'mod_quiz_view_object' => 'mod_quiz\output\view_page',
|
|
|
61 |
'mod_quiz_renderer' => 'mod_quiz\output\renderer',
|
|
|
62 |
'quiz_nav_question_button' => 'mod_quiz\output\navigation_question_button',
|
|
|
63 |
'quiz_nav_section_heading' => 'mod_quiz\output\navigation_section_heading',
|
|
|
64 |
'quiz_nav_panel_base' => 'mod_quiz\output\navigation_panel_base',
|
|
|
65 |
'quiz_attempt_nav_panel' => 'mod_quiz\output\navigation_panel_attempt',
|
|
|
66 |
'quiz_review_nav_panel' => 'mod_quiz\output\navigation_panel_review',
|
|
|
67 |
'quiz_attempt' => 'mod_quiz\quiz_attempt',
|
|
|
68 |
'quiz' => 'mod_quiz\quiz_settings',
|
|
|
69 |
];
|