Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\Sql\Terms\TypeIdsResolver Interface Reference

A service to turn type IDs into types, the inverse of TypeIdsAcquirer. More...

+ Inheritance diagram for Wikibase\Lib\Store\Sql\Terms\TypeIdsResolver:

Public Member Functions

 resolveTypeIds (array $typeIds)
 Resolves types for the given type IDs.
 

Detailed Description

A service to turn type IDs into types, the inverse of TypeIdsAcquirer.

See also
Item & Property Terms

Member Function Documentation

◆ resolveTypeIds()

Wikibase\Lib\Store\Sql\Terms\TypeIdsResolver::resolveTypeIds ( array $typeIds)

Resolves types for the given type IDs.

Parameters
int[]$typeIds
Returns
string[] Array from type IDs to type names. Unknown IDs in $typeIds are omitted.

Implemented in Wikibase\Lib\Store\Sql\Terms\DatabaseTypeIdsStore, Wikibase\Lib\Store\Sql\Terms\InMemoryTypeIdsStore, and Wikibase\Lib\Store\Sql\Terms\StaticTypeIdsStore.


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