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

Public Member Functions

 __construct (EntitySourceLookup $entitySourceLookup, ServiceBySourceAndTypeDispatcher $serviceBySourceAndTypeDispatcher)
 
 getPrefixedText (EntityId $id)
 Returns the title text of the entity, prefixed with the namespace, e.g.
 

Private Attributes

 $serviceBySourceAndTypeDispatcher
 
 $entitySourceLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\SourceAndTypeDispatchingTitleTextLookup::__construct ( EntitySourceLookup $entitySourceLookup,
ServiceBySourceAndTypeDispatcher $serviceBySourceAndTypeDispatcher )

Member Function Documentation

◆ getPrefixedText()

Wikibase\Lib\Store\SourceAndTypeDispatchingTitleTextLookup::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

◆ $entitySourceLookup

Wikibase\Lib\Store\SourceAndTypeDispatchingTitleTextLookup::$entitySourceLookup
private

◆ $serviceBySourceAndTypeDispatcher

Wikibase\Lib\Store\SourceAndTypeDispatchingTitleTextLookup::$serviceBySourceAndTypeDispatcher
private

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