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 namespace qbank_managecategories\output; 18 19 use core\check\performance\debugging; 20 use plugin_renderer_base; 21 22 /** 23 * Class renderer for managecategories. 24 * 25 * @package qbank_managecategories 26 * @copyright 2021 Catalyst IT Australia Pty Ltd 27 * @author Ghaly Marc-Alexandre <marc-alexandreghaly@catalyst-ca.net> 28 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 29 * @deprecated since Moodle 4.3 30 * @todo Final deprecation on Moodle 4.7 MDL-78090 31 */ 32 class renderer extends plugin_renderer_base { 33 /** 34 * Render category condition advanced. 35 * 36 * @deprecated since Moodle 4.3 37 * @todo Final deprecation on Moodle 4.7 MDL-78090 38 * @param array $displaydata 39 * @return bool|string 40 */ 41 public function render_category_condition_advanced($displaydata) { 42 debugging('render_category_condition_advanced() is deprecated. Use new filter objects instead.', DEBUG_DEVELOPER); 43 return $this->render_from_template('qbank_managecategories/category_condition_advanced', $displaydata); 44 } 45 46 /** 47 * Render category condition. 48 * 49 * @deprecated since Moodle 4.3 50 * @todo Final deprecation on Moodle 4.7 MDL-78090 51 * @param array $displaydata 52 * @return bool|string 53 */ 54 public function render_category_condition($displaydata) { 55 debugging('render_category_condition() is deprecated. Use new filter objects instead.', DEBUG_DEVELOPER); 56 return $this->render_from_template('qbank_managecategories/category_condition', $displaydata); 57 } 58 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body