Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_brickfield\local\htmlchecker\brickfield_accessibility_reporter Class Reference
Inheritance diagram for tool_brickfield\local\htmlchecker\brickfield_accessibility_reporter:
tool_brickfield\local\htmlchecker\reporters\report_array tool_brickfield\local\htmlchecker\reporters\report_codehighlight tool_brickfield\local\htmlchecker\reporters\report_demo tool_brickfield\local\htmlchecker\reporters\report_static tool_brickfield\local\htmlchecker\reporters\report_xml

Public Member Functions

 __construct (&$dom, &$css, &$guideline, $path='')
 The class constructor.
 
 set_absolute_path (&$element)
 Sets the absolute path for an element.
 
 set_options (array $options)
 Sets options for the reporter.
 

Public Attributes

array $absoluteattributes = ['src', 'href']
 An array of attributes to search for to turn into absolute paths rather than relative paths.
 
object $css
 The current brickfieldaccessibilitycss object.
 
object $dom
 The current document's DOMDocument.
 
object null object $guideline = null
 A guideline object.
 
object $options
 Additional options for this reporter.
 
array $path
 The path to the current document.
 
array $report
 A collection of ReportItem objects.
 
array $translation
 An array of test names and the translation for the problems with it.
 

Constructor & Destructor Documentation

◆ __construct()

tool_brickfield\local\htmlchecker\brickfield_accessibility_reporter::__construct ( & $dom,
& $css,
& $guideline,
$path = '' )

The class constructor.

Parameters
object$domThe current DOMDocument object
object$cssThe current brickfield CSS object
object$guidelineThe current guideline object
string$pathThe current path

Member Function Documentation

◆ set_absolute_path()

tool_brickfield\local\htmlchecker\brickfield_accessibility_reporter::set_absolute_path ( & $element)

Sets the absolute path for an element.

Parameters
object$elementA DOMElement object to turn into an absolute path

◆ set_options()

tool_brickfield\local\htmlchecker\brickfield_accessibility_reporter::set_options ( array $options)

Sets options for the reporter.

Parameters
array$optionsan array of options

The documentation for this class was generated from the following file: