MediaWiki
1.30.0
|
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 | |
Initialize and detect the tidy support.
Definition at line 26 of file TidySupport.php.
TidySupport::__construct | ( | $useConfiguration = false | ) |
Determine if there is a usable tidy.
bool | $useConfiguration |
Definition at line 34 of file TidySupport.php.
References $IP, $path, $wgTidyBin, $wgTidyConf, $wgTidyConfig, $wgTidyInternal, $wgTidyOpts, $wgUseTidy, global, Installer\locateExecutableInDefaultPaths(), and wfIsHHVM().
TidySupport::getConfig | ( | ) |
Definition at line 93 of file TidySupport.php.
References $config.
TidySupport::isEnabled | ( | ) |
Returns true if tidy is usable.
Definition at line 89 of file TidySupport.php.
References $enabled.
|
private |
Definition at line 28 of file TidySupport.php.
Referenced by getConfig().
|
private |
Definition at line 27 of file TidySupport.php.
Referenced by isEnabled().