Wikibase
MediaWiki Wikibase extension
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. More...
 

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\StaticTypeIdsStore, Wikibase\Lib\Store\Sql\Terms\InMemoryTypeIdsStore, and Wikibase\Lib\Store\Sql\Terms\DatabaseTypeIdsStore.


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