Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\ParserOutput\FallbackHintHtmlTermRenderer Class Reference
+ Inheritance diagram for Wikibase\Repo\ParserOutput\FallbackHintHtmlTermRenderer:
+ Collaboration diagram for Wikibase\Repo\ParserOutput\FallbackHintHtmlTermRenderer:

Public Member Functions

 __construct (LanguageDirectionalityLookup $languageDirectionalityLookup, LanguageNameLookup $languageNameLookup)
 
 renderTerm (Term $term)
 

Private Attributes

 $languageFallbackIndicator
 
 $languageDirectionalityLookup
 

Detailed Description

Author
Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ParserOutput\FallbackHintHtmlTermRenderer::__construct ( LanguageDirectionalityLookup  $languageDirectionalityLookup,
LanguageNameLookup  $languageNameLookup 
)

Member Function Documentation

◆ renderTerm()

Wikibase\Repo\ParserOutput\FallbackHintHtmlTermRenderer::renderTerm ( Term  $term)
Parameters
Term$term
Returns
string HTML representing the term; This will be used in an HTML language and directionality context that corresponds to $term->getLanguageCode().

Implements Wikibase\View\HtmlTermRenderer.

Member Data Documentation

◆ $languageDirectionalityLookup

Wikibase\Repo\ParserOutput\FallbackHintHtmlTermRenderer::$languageDirectionalityLookup
private

◆ $languageFallbackIndicator

Wikibase\Repo\ParserOutput\FallbackHintHtmlTermRenderer::$languageFallbackIndicator
private

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