MediaWiki REL1_31
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.

Parameters
bool$useConfiguration

Definition at line 34 of file TidySupport.php.

References $wgTidyBin, $wgTidyConf, $wgTidyConfig, $wgTidyInternal, $wgTidyOpts, $wgUseTidy, and wfIsHHVM().

Member Function Documentation

◆ getConfig()

TidySupport::getConfig ( )

Definition at line 74 of file TidySupport.php.

References $config.

◆ isEnabled()

TidySupport::isEnabled ( )

Returns true if tidy is usable.

Returns
bool

Definition at line 70 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: