MediaWiki  master
TidySupport Class Reference

Initialize and detect the tidy support. More...

Public Member Functions

 __construct ($useConfiguration=false)
 Determine if there is a usable tidy. More...
 
 getConfig ()
 
 isEnabled ()
 Returns true if tidy is usable. More...
 

Private Attributes

 $config
 
 $enabled
 

Detailed Description

Initialize and detect the tidy support.

Definition at line 839 of file testHelpers.inc.

Constructor & Destructor Documentation

TidySupport::__construct (   $useConfiguration = false)

Determine if there is a usable tidy.

Definition at line 846 of file testHelpers.inc.

References $IP, $path, $wgTidyBin, $wgTidyConf, $wgTidyConfig, $wgTidyInternal, $wgTidyOpts, $wgUseTidy, global, Installer\locateExecutableInDefaultPaths(), and wfIsHHVM().

Member Function Documentation

TidySupport::getConfig ( )

Definition at line 905 of file testHelpers.inc.

References $config.

TidySupport::isEnabled ( )

Returns true if tidy is usable.

Returns
bool

Definition at line 901 of file testHelpers.inc.

References $enabled.

Member Data Documentation

TidySupport::$config
private

Definition at line 841 of file testHelpers.inc.

Referenced by getConfig().

TidySupport::$enabled
private

Definition at line 840 of file testHelpers.inc.

Referenced by isEnabled().


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