See Release Notes
Long Term Support Release
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 core_grades\output; 18 19 use templatable; 20 use renderable; 21 22 /** 23 * The base class for the action bar in the gradebook pages. 24 * 25 * @package core_grades 26 * @copyright 2021 Mihail Geshoski <mihail@moodle.com> 27 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 28 */ 29 abstract class action_bar implements templatable, renderable { 30 31 /** @var \context $context The context object. */ 32 protected $context; 33 34 /** 35 * The class constructor. 36 * 37 * @param \context $context The context object. 38 */ 39 public function __construct(\context $context) { 40 $this->context = $context; 41 } 42 43 /** 44 * Returns the template for the actions bar. 45 * 46 * @return string 47 */ 48 abstract public function get_template(): string; 49 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body