Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\View\WikibaseHtmlSnakFormatterFactory Class Reference

An HtmlSnakFormatterFactory implementation using an OutputFormatSnakFormatterFactory. More...

+ Inheritance diagram for Wikibase\Repo\View\WikibaseHtmlSnakFormatterFactory:
+ Collaboration diagram for Wikibase\Repo\View\WikibaseHtmlSnakFormatterFactory:

Public Member Functions

 __construct (OutputFormatSnakFormatterFactory $snakFormatterFactory)
 
 getSnakFormatter ( $languageCode, TermLanguageFallbackChain $termLanguageFallbackChain)
 

Private Member Functions

 getFormatterOptions ( $languageCode, TermLanguageFallbackChain $termLanguageFallbackChain)
 

Private Attributes

 $snakFormatterFactory
 

Detailed Description

An HtmlSnakFormatterFactory implementation using an OutputFormatSnakFormatterFactory.

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\View\WikibaseHtmlSnakFormatterFactory::__construct ( OutputFormatSnakFormatterFactory  $snakFormatterFactory)

Member Function Documentation

◆ getFormatterOptions()

Wikibase\Repo\View\WikibaseHtmlSnakFormatterFactory::getFormatterOptions (   $languageCode,
TermLanguageFallbackChain  $termLanguageFallbackChain 
)
private
Parameters
string$languageCode
TermLanguageFallbackChain$termLanguageFallbackChain
Returns
FormatterOptions

◆ getSnakFormatter()

Wikibase\Repo\View\WikibaseHtmlSnakFormatterFactory::getSnakFormatter (   $languageCode,
TermLanguageFallbackChain  $termLanguageFallbackChain 
)
Parameters
string$languageCode
TermLanguageFallbackChain$termLanguageFallbackChain
Returns
SnakFormatter

Implements Wikibase\View\HtmlSnakFormatterFactory.

Member Data Documentation

◆ $snakFormatterFactory

Wikibase\Repo\View\WikibaseHtmlSnakFormatterFactory::$snakFormatterFactory
private

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