MediaWiki
master
|
A service to render content. More...
Public Member Functions | |
__construct (IContentHandlerFactory $contentHandlerFactory) | |
getParserOutput (Content $content, PageReference $page, ?int $revId=null, ?ParserOptions $parserOptions=null, bool $generateHtml=true) | |
Returns a ParserOutput object containing information derived from this content. More... | |
MediaWiki\Content\Renderer\ContentRenderer::__construct | ( | IContentHandlerFactory | $contentHandlerFactory | ) |
IContentHandlerFactory | $contentHandlerFactory |
Definition at line 22 of file ContentRenderer.php.
MediaWiki\Content\Renderer\ContentRenderer::getParserOutput | ( | Content | $content, |
PageReference | $page, | ||
?int | $revId = null , |
||
?ParserOptions | $parserOptions = null , |
||
bool | $generateHtml = true |
||
) |
Returns a ParserOutput object containing information derived from this content.
Content | $content | |
PageReference | $page | |
int | null | $revId | |
ParserOptions | null | $parserOptions | |
bool | $generateHtml |
Definition at line 37 of file ContentRenderer.php.