MediaWiki  1.27.2
MediaWiki\Tidy\RaggettInternalHHVM Class Reference
Inheritance diagram for MediaWiki\Tidy\RaggettInternalHHVM:
Collaboration diagram for MediaWiki\Tidy\RaggettInternalHHVM:

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. More...
 
- Protected Member Functions inherited from MediaWiki\Tidy\RaggettBase
 cleanWrapped ($text, $stderr=false, &$retval=null)
 Perform a clean/repair operation. More...
 

Additional Inherited Members

- Public Member Functions inherited from MediaWiki\Tidy\RaggettBase
 tidy ($text)
 Generic interface for wrapping and unwrapping HTML for Dave Raggett's tidy. More...
 
 validate ($text, &$errorStr)
 
- Public Member Functions inherited from MediaWiki\Tidy\TidyDriverBase
 __construct ($config)
 
 supportsValidate ()
 Return true if validate() can be used. More...
 
 tidy ($text)
 Clean up HTML. More...
 
 validate ($text, &$errorStr)
 Check HTML for errors, used if $wgValidateAllHtml = true. More...
 
- Protected Attributes inherited from MediaWiki\Tidy\TidyDriverBase
 $config
 

Detailed Description

Definition at line 5 of file RaggettInternalHHVM.php.

Member Function Documentation

MediaWiki\Tidy\RaggettInternalHHVM::cleanWrapped (   $text,
  $stderr = false,
$retval = null 
)
protected

Use the HTML tidy extension to use the tidy library in-process, saving the overhead of spawning a new process.

Parameters
string$textHTML to check
bool$stderrWhether to read result from error status instead of output
int&$retvalExit code (-1 on internal error)
Returns
string|null

Definition at line 15 of file RaggettInternalHHVM.php.

References $retval.


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