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

Public Member Functions

 __construct (ApiEntityTitleTextLookup $titleTextLookup, string $sourceWikibaseUrl)
 ApiEntityUrlLookup constructor.
 
 getLinkUrl (EntityId $id)
 
- Public Member Functions inherited from Wikibase\Lib\Store\EntityUrlLookup
 getFullUrl (EntityId $id)
 Always returns the full URL.
 

Private Attributes

 $titleTextLookup
 
 $sourceWikibaseUrl
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\FederatedProperties\ApiEntityUrlLookup::__construct ( ApiEntityTitleTextLookup $titleTextLookup,
string $sourceWikibaseUrl )

ApiEntityUrlLookup constructor.

Parameters
ApiEntityTitleTextLookup$titleTextLookup
string$sourceWikibaseUrl

Member Function Documentation

◆ getLinkUrl()

Wikibase\Repo\FederatedProperties\ApiEntityUrlLookup::getLinkUrl ( EntityId $id)
Parameters
EntityId$id
Returns
string|null

Implements Wikibase\Lib\Store\EntityUrlLookup.

Member Data Documentation

◆ $sourceWikibaseUrl

Wikibase\Repo\FederatedProperties\ApiEntityUrlLookup::$sourceWikibaseUrl
private

◆ $titleTextLookup

Wikibase\Repo\FederatedProperties\ApiEntityUrlLookup::$titleTextLookup
private

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