WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter Class Reference
+ Inheritance diagram for Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter:
+ Collaboration diagram for Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter:

Public Member Functions

 __construct (EntityTitleTextLookup $entityTitleTextLookup, LemmaLookup $lemmaLookup, EntityLinkFormatter $linkFormatter, LexemeTermFormatter $lemmaFormatter, Language $language)
 
 getHtml (EntityId $entityId, array $labelData=null)
 
 getTitleAttribute (EntityId $entityId, array $labelData=null, array $descriptionData=null)
 
 getFragment (EntityId $entityId, $fragment)
 

Private Attributes

LemmaLookup $lemmaLookup
 
DefaultEntityLinkFormatter $linkFormatter
 
Language $language
 
LexemeTermFormatter $lemmaFormatter
 
EntityTitleTextLookup $entityTitleTextLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::__construct ( EntityTitleTextLookup $entityTitleTextLookup,
LemmaLookup $lemmaLookup,
EntityLinkFormatter $linkFormatter,
LexemeTermFormatter $lemmaFormatter,
Language $language )

Member Function Documentation

◆ getFragment()

Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::getFragment ( EntityId $entityId,
$fragment )

◆ getHtml()

Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::getHtml ( EntityId $entityId,
array $labelData = null )

◆ getTitleAttribute()

Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::getTitleAttribute ( EntityId $entityId,
array $labelData = null,
array $descriptionData = null )

Member Data Documentation

◆ $entityTitleTextLookup

EntityTitleTextLookup Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::$entityTitleTextLookup
private

◆ $language

Language Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::$language
private

◆ $lemmaFormatter

LexemeTermFormatter Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::$lemmaFormatter
private

◆ $lemmaLookup

LemmaLookup Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::$lemmaLookup
private

◆ $linkFormatter

DefaultEntityLinkFormatter Wikibase\Lexeme\MediaWiki\EntityLinkFormatters\LexemeLinkFormatter::$linkFormatter
private

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