| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Holder for stripped items when parsing wiki markup. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| File Size: | 235 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
StripState:: (13 methods):
__construct()
addNoWiki()
addGeneral()
addItem()
unstripGeneral()
unstripNoWiki()
unstripBoth()
unstripType()
unstripCallback()
getSubState()
merge()
mergeCallback()
killMarkers()
Class: StripState - X-Ref
| __construct( $prefix ) X-Ref |
param: string $prefix |
| addNoWiki( $marker, $value ) X-Ref |
| Add a nowiki strip item param: string $marker param: string $value |
| addGeneral( $marker, $value ) X-Ref |
param: string $marker param: string $value |
| addItem( $type, $marker, $value ) X-Ref |
param: string $type param: string $marker param: string $value |
| unstripGeneral( $text ) X-Ref |
param: string $text return: mixed |
| unstripNoWiki( $text ) X-Ref |
param: string $text return: mixed |
| unstripBoth( $text ) X-Ref |
param: string $text return: mixed |
| unstripType( $type, $text ) X-Ref |
param: string $type param: string $text return: mixed |
| unstripCallback( $m ) X-Ref |
param: array $m return: array |
| getSubState( $text ) X-Ref |
| Get a StripState object which is sufficient to unstrip the given text. It will contain the minimum subset of strip items necessary. param: string $text return: StripState |
| merge( $otherState, $texts ) X-Ref |
| 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. param: StripState $otherState param: array $texts return: array |
| mergeCallback( $m ) X-Ref |
param: array $m return: string |
| killMarkers( $text ) X-Ref |
| Remove any strip markers found in the given text. param: string $text Input string return: string |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |