See Release Notes
Long Term Support Release
Differences Between: [Versions 401 and 402] [Versions 401 and 403]
(no description)
File Size: | 156 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
brickfield_accessibility_guideline:: (7 methods):
__construct()
get_tests()
load_translations()
get_translation()
run()
get_report()
get_severity()
Class: brickfield_accessibility_guideline - X-Ref
The base class for a guideline__construct(&$dom, &$css, array &$path,$arg = null, string $domain = 'en', bool $cmsmode = false) X-Ref |
The class constructor. param: object $dom The current DOMDocument object param: object $css The current brickfieldCSS object param: array $path The current path param: null $arg param: string $domain param: bool $cmsmode |
get_tests() X-Ref |
Returns an array of all the tests associated with the current guideline return: array |
load_translations(string $domain) X-Ref |
Loads translations from a file. This can be overriden, just as long as the local variable 'translations' is an associative array with test function names as the key param: string $domain |
get_translation(string $testname) X-Ref |
Returns the translation for a test name. param: string $testname The function name of the test return: mixed |
run($arg = null, string $language = 'en') X-Ref |
Iterates through each test string, makes a new test object, and runs it against the current DOM param: null $arg param: string $language |
get_report() X-Ref |
Returns all the Report variable return: mixed Look to your report to see what it returns |
get_severity(string $testname) X-Ref |
Returns the severity level of a given test param: string $testname The name of the test return: int The severity level |