MediaWiki REL1_28
TidySupport Class Reference

Initialize and detect the tidy support. More...

Public Member Functions

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

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, $wgTidyBin, $wgTidyConf, $wgTidyConfig, $wgTidyInternal, $wgTidyOpts, $wgUseTidy, 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: