Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\FederatedProperties\FederatedPropertiesUiEntityParserOutputGeneratorDecorator Class Reference

Wraps an EntityParserOutputGenerator and adds Federated Properties UI modules and error handling. More...

+ Inheritance diagram for Wikibase\Repo\FederatedProperties\FederatedPropertiesUiEntityParserOutputGeneratorDecorator:
+ Collaboration diagram for Wikibase\Repo\FederatedProperties\FederatedPropertiesUiEntityParserOutputGeneratorDecorator:

Public Member Functions

 __construct (FederatedPropertiesPrefetchingEntityParserOutputGeneratorDecorator $inner, Language $language)
 
 getParserOutput (EntityRevision $entityRevision, $generateHtml=true)
 

Private Attributes

 $inner
 
 $languageCode
 

Detailed Description

Wraps an EntityParserOutputGenerator and adds Federated Properties UI modules and error handling.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\FederatedProperties\FederatedPropertiesUiEntityParserOutputGeneratorDecorator::__construct ( FederatedPropertiesPrefetchingEntityParserOutputGeneratorDecorator  $inner,
Language  $language 
)

Member Function Documentation

◆ getParserOutput()

Wikibase\Repo\FederatedProperties\FederatedPropertiesUiEntityParserOutputGeneratorDecorator::getParserOutput ( EntityRevision  $entityRevision,
  $generateHtml = true 
)
Parameters
EntityRevision$entityRevision
bool$generateHtml
Returns
ParserOutput
Exceptions
FederatedPropertiesError|FederatedPropertiesException

Implements Wikibase\Repo\ParserOutput\EntityParserOutputGenerator.

Member Data Documentation

◆ $inner

Wikibase\Repo\FederatedProperties\FederatedPropertiesUiEntityParserOutputGeneratorDecorator::$inner
private

◆ $languageCode

Wikibase\Repo\FederatedProperties\FederatedPropertiesUiEntityParserOutputGeneratorDecorator::$languageCode
private

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