Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityParserOutputGenerator Class Reference
+ Inheritance diagram for Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityParserOutputGenerator:
+ Collaboration diagram for Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityParserOutputGenerator:

Public Member Functions

 __construct (EntityParserOutputGenerator $inner, Language $language, ApiEntityLookup $apiEntityLookup)
 
 getParserOutput (EntityRevision $entityRevision, $generateHtml=true)
 Creates the parser output for the given entity.
 

Private Member Functions

 prefetchFederatedProperties (EntityDocument $entity)
 

Private Attributes

 $inner
 
 $languageCode
 
 $apiEntityLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityParserOutputGenerator::__construct ( EntityParserOutputGenerator  $inner,
Language  $language,
ApiEntityLookup  $apiEntityLookup 
)
Parameters
EntityParserOutputGenerator$inner
Language$language
ApiEntityLookup$apiEntityLookup

Member Function Documentation

◆ getParserOutput()

Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityParserOutputGenerator::getParserOutput ( EntityRevision  $entityRevision,
  $generateHtml = true 
)

Creates the parser output for the given entity.

Parameters
EntityRevision$entityRevision
bool$generateHtml
Returns
ParserOutput
Exceptions
FederatedPropertiesError|FederatedPropertiesException

Implements Wikibase\Repo\ParserOutput\EntityParserOutputGenerator.

◆ prefetchFederatedProperties()

Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityParserOutputGenerator::prefetchFederatedProperties ( EntityDocument  $entity)
private

Member Data Documentation

◆ $apiEntityLookup

Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityParserOutputGenerator::$apiEntityLookup
private

◆ $inner

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

◆ $languageCode

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

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