- Todo:
- document, briefly.
- Stability: newable
Definition at line 29 of file StripState.php.
◆ __construct()
StripState::__construct |
( |
Parser |
$parser = null , |
|
|
|
$options = [] |
|
) |
| |
◆ addGeneral()
StripState::addGeneral |
( |
|
$marker, |
|
|
|
$value |
|
) |
| |
◆ addItem()
StripState::addItem |
( |
|
$type, |
|
|
|
$marker, |
|
|
|
$value |
|
) |
| |
|
protected |
◆ addNoWiki()
StripState::addNoWiki |
( |
|
$marker, |
|
|
|
$value |
|
) |
| |
Add a nowiki strip item.
- Parameters
-
string | $marker | |
string | Closure | $value | |
Definition at line 71 of file StripState.php.
References addItem().
◆ getLimitReport()
StripState::getLimitReport |
( |
| ) |
|
◆ killMarkers()
StripState::killMarkers |
( |
|
$text | ) |
|
Remove any strip markers found in the given text.
- Parameters
-
- Returns
- string
Definition at line 263 of file StripState.php.
◆ replaceNoWikis()
StripState::replaceNoWikis |
( |
string |
$text, |
|
|
callable |
$callback |
|
) |
| |
- Parameters
-
string | $text | |
callable | $callback | |
- Returns
- string
Definition at line 117 of file StripState.php.
◆ unstripBoth()
StripState::unstripBoth |
( |
|
$text | ) |
|
◆ unstripGeneral()
StripState::unstripGeneral |
( |
|
$text | ) |
|
◆ unstripNoWiki()
StripState::unstripNoWiki |
( |
|
$text | ) |
|
◆ unstripType()
StripState::unstripType |
( |
|
$type, |
|
|
|
$text |
|
) |
| |
|
protected |
◆ $circularRefGuard
StripState::$circularRefGuard |
|
protected |
◆ $data
◆ $depth
◆ $depthLimit
StripState::$depthLimit = 20 |
|
protected |
◆ $expandSize
StripState::$expandSize = 0 |
|
protected |
◆ $highestDepth
StripState::$highestDepth = 0 |
|
protected |
◆ $parser
◆ $regex
◆ $sizeLimit
StripState::$sizeLimit = 5000000 |
|
protected |
The documentation for this class was generated from the following file: