Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Title $title, Parser $parser) | |
setParser (Parser $parser) | |
setRevision (Revision $revision=null) | |
getTitle () | |
getOutput () | |
getErrors () | |
skipInTextAnnotationParser () | |
parse ( $text=null) | |
Protected Attributes | |
$title | |
$parser = null | |
$parserOutput = null | |
$revision = null | |
$errors = [] | |
Fetches the ParserOutput either by parsing an invoked text component, re-parsing a text revision, or accessing the ContentHandler to generate a ParserOutput object
GNU GPL v2+
SMW\ContentParser::__construct | ( | Title | $title, |
Parser | $parser | ||
) |
Title | $title | |
Parser | $parser |
SMW\ContentParser::getErrors | ( | ) |
SMW\ContentParser::getOutput | ( | ) |
SMW\ContentParser::getTitle | ( | ) |
SMW\ContentParser::parse | ( | $text = null | ) |
Generates or fetches the ParserOutput object from an appropriate source
string | null | $text |
SMW\ContentParser::setParser | ( | Parser | $parser | ) |
SMW\ContentParser::setRevision | ( | Revision | $revision = null | ) |
SMW\ContentParser::skipInTextAnnotationParser | ( | ) |