Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\TitleLookupBasedEntityTitleTextLookup Class Reference
+ Inheritance diagram for Wikibase\Lib\Store\TitleLookupBasedEntityTitleTextLookup:
+ Collaboration diagram for Wikibase\Lib\Store\TitleLookupBasedEntityTitleTextLookup:

Public Member Functions

 __construct (EntityTitleLookup $titleLookup)
 
 getPrefixedText (EntityId $id)
 Returns the title text of the entity, prefixed with the namespace, e.g."Property:P31"
Parameters
EntityId$id
Returns
string|null

 

Private Attributes

 $titleLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\TitleLookupBasedEntityTitleTextLookup::__construct ( EntityTitleLookup  $titleLookup)

Member Function Documentation

◆ getPrefixedText()

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

Returns the title text of the entity, prefixed with the namespace, e.g."Property:P31"

Parameters
EntityId$id
Returns
string|null

Implements Wikibase\Lib\Store\EntityTitleTextLookup.

Member Data Documentation

◆ $titleLookup

Wikibase\Lib\Store\TitleLookupBasedEntityTitleTextLookup::$titleLookup
private

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