- 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 |
- Parameters
-
string | $type | |
-taint | $type | none |
string | $marker | |
-taint | $marker | none |
string | Closure | $value | |
-taint | $value | exec_html |
Definition at line 91 of file StripState.php.
Referenced by addGeneral(), and addNoWiki().
◆ 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 |
( |
| ) |
|
Get an array of parameters to pass to ParserOutput::setLimitReportData()
- Access: internal
- Should only be called by Parser
- Returns
- array
Definition at line 243 of file StripState.php.
◆ killMarkers()
StripState::killMarkers |
( |
| $text | ) |
|
Remove any strip markers found in the given text.
- Parameters
-
- Returns
- string
Definition at line 266 of file StripState.php.
◆ replaceNoWikis()
StripState::replaceNoWikis |
( |
string | $text, |
|
|
callable | $callback ) |
- Parameters
-
string | $text | |
callable | $callback | |
- Returns
- string
Definition at line 120 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: