Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer Class Reference

StatementGroupRenderer of the {{#property}} parser function. More...

+ Inheritance diagram for Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer:
+ Collaboration diagram for Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer:

Public Member Functions

 __construct (Language $language, StatementTransclusionInteractor $statementTransclusionInteractor, ParserOutput $parserOutput, Title $title)
 
 render (EntityId $entityId, $propertyLabelOrId)
 

Private Member Functions

 getStatusForException (string $propertyLabel, Exception $exception)
 

Private Attributes

 $language
 
 $statementTransclusionInteractor
 
 $parserOutput
 
 $title
 

Detailed Description

StatementGroupRenderer of the {{#property}} parser function.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer::__construct ( Language $language,
StatementTransclusionInteractor $statementTransclusionInteractor,
ParserOutput $parserOutput,
Title $title )

Member Function Documentation

◆ getStatusForException()

Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer::getStatusForException ( string $propertyLabel,
Exception $exception )
private

◆ render()

Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer::render ( EntityId $entityId,
$propertyLabelOrId )
Parameters
EntityId$entityId
string$propertyLabelOrIdproperty label or ID (pXXX)
Returns
string Wikitext

Implements Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRenderer.

Member Data Documentation

◆ $language

Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer::$language
private

◆ $parserOutput

Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer::$parserOutput
private

◆ $statementTransclusionInteractor

Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer::$statementTransclusionInteractor
private

◆ $title

Wikibase\Client\DataAccess\ParserFunctions\LanguageAwareRenderer::$title
private

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