Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\FederatedProperties\ApiEntityTitleTextLookup Class Reference
+ Inheritance diagram for Wikibase\Repo\FederatedProperties\ApiEntityTitleTextLookup:
+ Collaboration diagram for Wikibase\Repo\FederatedProperties\ApiEntityTitleTextLookup:

Public Member Functions

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

Private Member Functions

 getTitleString ( $namespaceName, EntityId $id)
 

Private Attributes

 $namespaceLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\FederatedProperties\ApiEntityTitleTextLookup::__construct ( ApiEntityNamespaceInfoLookup  $namespaceLookup)

Member Function Documentation

◆ getPrefixedText()

Wikibase\Repo\FederatedProperties\ApiEntityTitleTextLookup::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.

◆ getTitleString()

Wikibase\Repo\FederatedProperties\ApiEntityTitleTextLookup::getTitleString (   $namespaceName,
EntityId  $id 
)
private

Member Data Documentation

◆ $namespaceLookup

Wikibase\Repo\FederatedProperties\ApiEntityTitleTextLookup::$namespaceLookup
private

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