MediaWiki
REL1_37
TidyDriverBase.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Tidy
;
4
8
abstract
class
TidyDriverBase
{
9
protected
$config
;
10
11
public
function
__construct
(
$config
) {
12
$this->config =
$config
;
13
}
14
20
public
function
supportsValidate
() {
21
wfDeprecated
( __METHOD__,
'1.36'
);
22
return
false
;
23
}
24
35
abstract
public
function
tidy
( $text, ?callable $textProcessor =
null
);
36
}
wfDeprecated
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
Definition
GlobalFunctions.php:997
MediaWiki\Tidy\TidyDriverBase
Base class for HTML cleanup utilities.
Definition
TidyDriverBase.php:8
MediaWiki\Tidy\TidyDriverBase\__construct
__construct( $config)
Definition
TidyDriverBase.php:11
MediaWiki\Tidy\TidyDriverBase\tidy
tidy( $text, ?callable $textProcessor=null)
Clean up HTML.
MediaWiki\Tidy\TidyDriverBase\supportsValidate
supportsValidate()
Return true if validate() can be used.
Definition
TidyDriverBase.php:20
MediaWiki\Tidy\TidyDriverBase\$config
$config
Definition
TidyDriverBase.php:9
MediaWiki\Tidy
Definition
RemexCompatFormatter.php:3
includes
tidy
TidyDriverBase.php
Generated on Fri Apr 5 2024 23:41:02 for MediaWiki by
1.9.8