MediaWiki  1.29.1
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 26 of file TidySupport.php.

Constructor & Destructor Documentation

◆ __construct()

TidySupport::__construct (   $useConfiguration = false)

Determine if there is a usable tidy.

Definition at line 33 of file TidySupport.php.

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

Member Function Documentation

◆ getConfig()

TidySupport::getConfig ( )

Definition at line 92 of file TidySupport.php.

References $config.

◆ isEnabled()

TidySupport::isEnabled ( )

Returns true if tidy is usable.

Returns
bool

Definition at line 88 of file TidySupport.php.

References $enabled.

Member Data Documentation

◆ $config

TidySupport::$config
private

Definition at line 28 of file TidySupport.php.

Referenced by getConfig().

◆ $enabled

TidySupport::$enabled
private

Definition at line 27 of file TidySupport.php.

Referenced by isEnabled().


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