- Todo:
- document, briefly.
Definition at line 28 of file StripState.php.
◆ __construct()
StripState::__construct |
( |
|
$prefix | ) |
|
◆ addGeneral()
StripState::addGeneral |
( |
|
$marker, |
|
|
|
$value |
|
) |
| |
◆ addItem()
StripState::addItem |
( |
|
$type, |
|
|
|
$marker, |
|
|
|
$value |
|
) |
| |
|
protected |
◆ addNoWiki()
StripState::addNoWiki |
( |
|
$marker, |
|
|
|
$value |
|
) |
| |
◆ getSubState()
StripState::getSubState |
( |
|
$text | ) |
|
Get a StripState object which is sufficient to unstrip the given text.
It will contain the minimum subset of strip items necessary.
- Parameters
-
- Returns
- StripState
Definition at line 166 of file StripState.php.
References data.
◆ killMarkers()
StripState::killMarkers |
( |
|
$text | ) |
|
Remove any strip markers found in the given text.
- Parameters
-
- Returns
- string
Definition at line 232 of file StripState.php.
◆ merge()
StripState::merge |
( |
|
$otherState, |
|
|
|
$texts |
|
) |
| |
Merge another StripState object into this one.
The strip marker keys will not be preserved. The strings in the $texts array will have their strip markers rewritten, the resulting array of strings will be returned.
- Parameters
-
- Returns
- Array
Definition at line 202 of file StripState.php.
References $type, $value, array(), as, and data.
◆ mergeCallback()
StripState::mergeCallback |
( |
|
$m | ) |
|
|
protected |
◆ unstripBoth()
StripState::unstripBoth |
( |
|
$text | ) |
|
◆ unstripCallback()
StripState::unstripCallback |
( |
|
$m | ) |
|
|
protected |
◆ unstripGeneral()
StripState::unstripGeneral |
( |
|
$text | ) |
|
◆ unstripNoWiki()
StripState::unstripNoWiki |
( |
|
$text | ) |
|
◆ unstripType()
StripState::unstripType |
( |
|
$type, |
|
|
|
$text |
|
) |
| |
|
protected |
◆ $circularRefGuard
StripState::$circularRefGuard |
|
protected |
◆ $data
◆ $prefix
◆ $recursionLevel
StripState::$recursionLevel = 0 |
|
protected |
◆ $regex
◆ $tempMergePrefix
StripState::$tempMergePrefix |
◆ $tempType
◆ UNSTRIP_RECURSION_LIMIT
const StripState::UNSTRIP_RECURSION_LIMIT = 20 |
The documentation for this class was generated from the following file: