Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever:
+ Collaboration diagram for Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever:

Public Member Functions

 __construct (TermLookup $termLookup, ContentLanguages $termLanguages)
 
 getLabel (ItemId $itemId, string $languageCode)
 
 getLabels (ItemId $itemId)
 
 getDescription (ItemId $itemId, string $languageCode)
 
 getDescriptions (ItemId $itemId)
 

Private Attributes

TermLookup $termLookup
 
ContentLanguages $termLanguages
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever::__construct ( TermLookup  $termLookup,
ContentLanguages  $termLanguages 
)

Member Function Documentation

◆ getDescription()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever::getDescription ( ItemId  $itemId,
string  $languageCode 
)

◆ getDescriptions()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever::getDescriptions ( ItemId  $itemId)

◆ getLabel()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever::getLabel ( ItemId  $itemId,
string  $languageCode 
)

◆ getLabels()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever::getLabels ( ItemId  $itemId)

Member Data Documentation

◆ $termLanguages

ContentLanguages Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever::$termLanguages
private

◆ $termLookup

TermLookup Wikibase\Repo\RestApi\Infrastructure\DataAccess\TermLookupItemDataRetriever::$termLookup
private

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