Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Services\Term\PropertyLabelResolver Interface Reference

Resolves property labels (which are unique per language) into entity IDs. More...

+ Inheritance diagram for Wikibase\DataModel\Services\Term\PropertyLabelResolver:

Public Member Functions

 getPropertyIdsForLabels (array $labels, $recache='')
 

Detailed Description

Resolves property labels (which are unique per language) into entity IDs.

Since
1.1
Author
Daniel Kinzler

Member Function Documentation

◆ getPropertyIdsForLabels()

Wikibase\DataModel\Services\Term\PropertyLabelResolver::getPropertyIdsForLabels ( array  $labels,
  $recache = '' 
)
Parameters
string[]$labels
string$recacheFlag, set to 'recache' to discard cached data and fetch fresh data from the database
Returns
EntityId[] a map of strings from $labels to the corresponding entity ID.

Implemented in Wikibase\Lib\Store\AbstractTermPropertyLabelResolver.


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