MediaWiki  1.27.2
TidySupport Class Reference

Initialize and detect the tidy support. More...

Public Member Functions

 __construct ()
 Determine if there is a usable tidy. More...
 
 isEnabled ()
 Returns true if tidy is usable. More...
 
 isInternal ()
 Returns true if we should use internal tidy. More...
 

Private Attributes

 $externalTidy
 
 $internalTidy
 

Detailed Description

Initialize and detect the tidy support.

Definition at line 839 of file testHelpers.inc.

Constructor & Destructor Documentation

TidySupport::__construct ( )

Determine if there is a usable tidy.

Definition at line 846 of file testHelpers.inc.

References global, Installer\locateExecutableInDefaultPaths(), and wfIsHHVM().

Member Function Documentation

TidySupport::isEnabled ( )

Returns true if tidy is usable.

Returns
bool

Definition at line 871 of file testHelpers.inc.

References $externalTidy.

TidySupport::isInternal ( )

Returns true if we should use internal tidy.

Returns
bool

Definition at line 862 of file testHelpers.inc.

References $internalTidy.

Member Data Documentation

TidySupport::$externalTidy
private

Definition at line 841 of file testHelpers.inc.

Referenced by isEnabled().

TidySupport::$internalTidy
private

Definition at line 840 of file testHelpers.inc.

Referenced by isInternal().


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