See Release Notes
Long Term Support Release
Differences Between: [Versions 401 and 402] [Versions 401 and 403]
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 tool_brickfield\local\htmlchecker\guidelines; 18 19 use tool_brickfield\local\htmlchecker\brickfield_accessibility_guideline; 20 use tool_brickfield\manager; 21 22 /** 23 * Brickfield Guideline 24 * 25 * @package tool_brickfield 26 * @copyright 2020 onward: Brickfield Education Labs, www.brickfield.ie 27 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 28 */ 29 class brickfield_guideline extends brickfield_accessibility_guideline { 30 31 /** 32 * @var array An array of test class names which will be called for this guideline 33 */ 34 public $tests = []; 35 36 /** 37 * brickfield_guideline constructor. 38 * @param \DOMDocument $dom 39 * @param \brickfield_accessibility_css $css 40 * @param array $path 41 * @param null $arg 42 * @param string $domain 43 * @param bool $cmsmode 44 * @throws \dml_exception 45 */ 46 public function __construct(&$dom, &$css, array &$path, $arg = null, string $domain = 'en', bool $cmsmode = false) { 47 global $DB; 48 49 $this->tests = array_values($DB->get_records_menu(manager::DB_CHECKS, null, '', 'id,shortname')); 50 51 parent::__construct($dom, $css, $path, $arg, $domain, $cmsmode); 52 } 53 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body