Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
tool_brickfield\local\htmlchecker\reporters\report_static Class Reference
Inheritance diagram for tool_brickfield\local\htmlchecker\reporters\report_static:
tool_brickfield\local\htmlchecker\brickfield_accessibility_reporter

Public Member Functions

 get_report ()
 Generates a static list of errors within a div.
 
 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.
 

Member Function Documentation

◆ get_report()

tool_brickfield\local\htmlchecker\reporters\report_static::get_report ( )

Generates a static list of errors within a div.

Return values
arrayA fully-formatted report

◆ set_absolute_path()

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

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)
inherited

Sets options for the reporter.

Parameters
array$optionsan array of options

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