. namespace core_grades\output; use templatable; use renderable; /** * The base class for the action bar in the gradebook pages. * * @package core_grades * @copyright 2021 Mihail Geshoski * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ abstract class action_bar implements templatable, renderable { /** @var \context $context The context object. */ protected $context; /** * The class constructor. * * @param \context $context The context object. */ public function __construct(\context $context) { $this->context = $context; } /** * Returns the template for the actions bar. * * @return string */ abstract public function get_template(): string; }