Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Store\EntityTitleTextLookup Interface Reference
+ Inheritance diagram for Wikibase\Lib\Store\EntityTitleTextLookup:

Public Member Functions

 getPrefixedText (EntityId $id)
 Returns the title text of the entity, prefixed with the namespace, e.g. More...
 

Detailed Description

Member Function Documentation

◆ getPrefixedText()

Wikibase\Lib\Store\EntityTitleTextLookup::getPrefixedText ( EntityId  $id)

Returns the title text of the entity, prefixed with the namespace, e.g.

"Property:P31"

Parameters
EntityId$id
Returns
string|null

Implemented in Wikibase\Repo\FederatedProperties\ApiEntityTitleTextLookup, Wikibase\Lib\Store\TypeDispatchingTitleTextLookup, and Wikibase\Lib\Store\TitleLookupBasedEntityTitleTextLookup.


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