MediaWiki  1.28.0
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

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

TidySupport::getConfig ( )

Definition at line 92 of file TidySupport.php.

References $config.

TidySupport::isEnabled ( )

Returns true if tidy is usable.

Returns
bool

Definition at line 88 of file TidySupport.php.

References $enabled.

Member Data Documentation

TidySupport::$config
private

Definition at line 28 of file TidySupport.php.

Referenced by getConfig().

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: