Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\EntityTermLookup Class Reference
+ Inheritance diagram for Wikibase\Lib\Store\EntityTermLookup:
+ Collaboration diagram for Wikibase\Lib\Store\EntityTermLookup:

Public Member Functions

 __construct (TermIndex $termIndex)
 
- Public Member Functions inherited from Wikibase\Lib\Store\EntityTermLookupBase
 getLabel (EntityId $entityId, $languageCode)
 
 getLabels (EntityId $entityId, array $languageCodes)
 
 getDescription (EntityId $entityId, $languageCode)
 
 getDescriptions (EntityId $entityId, array $languageCodes)
 

Protected Member Functions

 getTermsOfType (EntityId $entityId, $termType, array $languageCodes=null)
 
 getAliases (EntityId $entityId, array $languageCodes)
 
- Protected Member Functions inherited from Wikibase\Lib\Store\EntityTermLookupBase
 convertTermsToMap (array $wikibaseTerms)
 

Private Attributes

 $termIndex
 

Detailed Description

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\EntityTermLookup::__construct ( TermIndex  $termIndex)

Member Function Documentation

◆ getAliases()

Wikibase\Lib\Store\EntityTermLookup::getAliases ( EntityId  $entityId,
array  $languageCodes 
)
protected

◆ getTermsOfType()

Wikibase\Lib\Store\EntityTermLookup::getTermsOfType ( EntityId  $entityId,
  $termType,
array  $languageCodes = null 
)
protected
Parameters
EntityId$entityId
string$termType
string[] | null$languageCodesThe languages to get terms for; null means all languages.
Returns
string[]

Reimplemented from Wikibase\Lib\Store\EntityTermLookupBase.

Member Data Documentation

◆ $termIndex

Wikibase\Lib\Store\EntityTermLookup::$termIndex
private

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