Public Member Functions | |
| __construct (&$dom, &$css, &$path, $arg=null, $domain= 'en', $cms_mode=false) | |
| getTests () | |
| loadTranslations ($domain) | |
| getTranslation ($testname) | |
| run ($arg=null, $language= 'en') | |
| getReport () | |
| getSeverity ($testname) | |
Definition at line 599 of file quail.php.
| quailGuideline::__construct | ( | &$ | dom, | |
| &$ | css, | |||
| &$ | path, | |||
| $ | arg = null, |
|||
| $ | domain = 'en', |
|||
| $ | cms_mode = false | |||
| ) |
The class constructor
| object | $dom The current DOMDocument object | |
| object | $css The current QuailCSS object | |
| string | $path The current path |
Definition at line 644 of file quail.php.
References loadTranslations(), and run().
| quailGuideline::getReport | ( | ) |
| quailGuideline::getSeverity | ( | $ | testname | ) |
| quailGuideline::getTests | ( | ) |
| quailGuideline::getTranslation | ( | $ | testname | ) |
| quailGuideline::loadTranslations | ( | $ | domain | ) |
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
Definition at line 666 of file quail.php.
Referenced by __construct().
| quailGuideline::run | ( | $ | arg = null, |
|
| $ | language = 'en' | |||
| ) |
Iterates through each test string, makes a new test object, and runs it against the current DOM
Reimplemented in AllGuideline.
Definition at line 692 of file quail.php.
Referenced by __construct().
1.5.7.1