Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleContentHandler Class Reference
Inheritance diagram for MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleContentHandler:

Public Member Functions

 __construct ( $modelId=MessageBundleContent::CONTENT_MODEL_ID)
 
 makeEmptyContent ()
 
 validateSave (Content $content, ValidationParams $validationParams)
 

Protected Member Functions

 getContentClass ()
 
 fillParserOutput (Content $content, ContentParseParams $cpoParams, ParserOutput &$parserOutput)
 @inheritDoc
 

Detailed Description

Author
Niklas Laxström @license GPL-2.0-or-later
Since
2021.05

Definition at line 20 of file MessageBundleContentHandler.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleContentHandler::__construct ( $modelId = MessageBundleContent::CONTENT_MODEL_ID)

Definition at line 21 of file MessageBundleContentHandler.php.

Member Function Documentation

◆ fillParserOutput()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleContentHandler::fillParserOutput ( Content $content,
ContentParseParams $cpoParams,
ParserOutput & $parserOutput )
protected

@inheritDoc

Definition at line 48 of file MessageBundleContentHandler.php.

◆ getContentClass()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleContentHandler::getContentClass ( )
protected

Definition at line 25 of file MessageBundleContentHandler.php.

◆ makeEmptyContent()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleContentHandler::makeEmptyContent ( )

Definition at line 29 of file MessageBundleContentHandler.php.

◆ validateSave()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleContentHandler::validateSave ( Content $content,
ValidationParams $validationParams )

Definition at line 34 of file MessageBundleContentHandler.php.


The documentation for this class was generated from the following file: