MediaWiki REL1_32
|
Public Member Functions | |
supportsValidate () | |
Return true if validate() can be used. | |
Public Member Functions inherited from MediaWiki\Tidy\RaggettBase | |
__construct ( $config) | |
tidy ( $text) | |
Generic interface for wrapping and unwrapping HTML for Dave Raggett's tidy. | |
validate ( $text, &$errorStr) | |
Protected Member Functions | |
cleanWrapped ( $text, $stderr=false, &$retval=null) | |
Use the HTML tidy extension to use the tidy library in-process, saving the overhead of spawning a new process. | |
Additional Inherited Members | |
Protected Attributes inherited from MediaWiki\Tidy\TidyDriverBase | |
$config | |
Definition at line 8 of file RaggettInternalPHP.php.
|
protected |
Use the HTML tidy extension to use the tidy library in-process, saving the overhead of spawning a new process.
string | $text | HTML to check |
bool | $stderr | Whether to read result from error status instead of output |
int | null | &$retval | Exit code (-1 on internal error) |
Reimplemented from MediaWiki\Tidy\RaggettBase.
Definition at line 18 of file RaggettInternalPHP.php.
MediaWiki\Tidy\RaggettInternalPHP::supportsValidate | ( | ) |
Return true if validate() can be used.
Reimplemented from MediaWiki\Tidy\TidyDriverBase.
Definition at line 52 of file RaggettInternalPHP.php.