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

Public Member Functions

 __construct (EntityLookup $entityLookup)
 
 getItemData (ItemId $itemId, array $fields)
 
 getStatements (ItemId $itemId)
 
- Public Member Functions inherited from Wikibase\Repo\RestApi\Domain\Services\ItemStatementRetriever
 getStatement (StatementGuid $statementGuid)
 
- Public Member Functions inherited from Wikibase\Repo\RestApi\Domain\Services\ItemRetriever
 getItem (ItemId $itemId)
 

Private Member Functions

 itemDataFromFields (array $fields, Item $item)
 

Private Attributes

 $entityLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::__construct ( EntityLookup  $entityLookup)

Member Function Documentation

◆ getItemData()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::getItemData ( ItemId  $itemId,
array  $fields 
)
Exceptions
StorageException

Implements Wikibase\Repo\RestApi\Domain\Services\ItemDataRetriever.

◆ getStatements()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::getStatements ( ItemId  $itemId)
Exceptions
StorageException

Implements Wikibase\Repo\RestApi\Domain\Services\ItemStatementsRetriever.

◆ itemDataFromFields()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::itemDataFromFields ( array  $fields,
Item  $item 
)
private

Member Data Documentation

◆ $entityLookup

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::$entityLookup
private

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