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

A factory for generating EntityIdHtmlLinkFormatters. More...

+ Inheritance diagram for Wikibase\Repo\EntityIdLabelFormatterFactory:
+ Collaboration diagram for Wikibase\Repo\EntityIdLabelFormatterFactory:

Public Member Functions

 __construct (FallbackLabelDescriptionLookupFactory $lookupFactory)
 
 getOutputFormat ()
 
 getEntityIdFormatter (Language $language)
 

Private Attributes

FallbackLabelDescriptionLookupFactory $lookupFactory
 

Detailed Description

A factory for generating EntityIdHtmlLinkFormatters.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\EntityIdLabelFormatterFactory::__construct ( FallbackLabelDescriptionLookupFactory $lookupFactory)

Member Function Documentation

◆ getEntityIdFormatter()

Wikibase\Repo\EntityIdLabelFormatterFactory::getEntityIdFormatter ( Language $language)
See also
EntityIdFormatterFactory::getEntityIdFormatter
Parameters
Language$language
Returns
EntityIdLabelFormatter

Implements Wikibase\View\EntityIdFormatterFactory.

◆ getOutputFormat()

Wikibase\Repo\EntityIdLabelFormatterFactory::getOutputFormat ( )
See also
EntityIdFormatterFactory::getOutputFormat
Returns
string SnakFormatter::FORMAT_PLAIN

Implements Wikibase\View\EntityIdFormatterFactory.

Member Data Documentation

◆ $lookupFactory

FallbackLabelDescriptionLookupFactory Wikibase\Repo\EntityIdLabelFormatterFactory::$lookupFactory
private

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