MediaWiki REL1_27
TidySupport Class Reference

Initialize and detect the tidy support. More...

Public Member Functions

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

Private Attributes

 $externalTidy
 
 $internalTidy
 

Detailed Description

Initialize and detect the tidy support.

Definition at line 839 of file testHelpers.inc.

Constructor & Destructor Documentation

◆ __construct()

TidySupport::__construct ( )

Determine if there is a usable tidy.

Definition at line 846 of file testHelpers.inc.

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

Member Function Documentation

◆ isEnabled()

TidySupport::isEnabled ( )

Returns true if tidy is usable.

Returns
bool

Definition at line 871 of file testHelpers.inc.

References $externalTidy.

◆ isInternal()

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

◆ $externalTidy

TidySupport::$externalTidy
private

Definition at line 841 of file testHelpers.inc.

Referenced by isEnabled().

◆ $internalTidy

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: