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

Lookup service to fetch ids of stored types. More...

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

Public Member Functions

 lookupTypeIds (array $types)
 Lookup type ids for given type names.
 

Detailed Description

Lookup service to fetch ids of stored types.

See also
Item & Property Terms

Member Function Documentation

◆ lookupTypeIds()

Wikibase\Lib\Store\Sql\Terms\TypeIdsLookup::lookupTypeIds ( array $types)

Lookup type ids for given type names.

Parameters
string[]$types
Returns
int[] array type names to type ids

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: