Wikibase
MediaWiki Wikibase extension
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. More...
 
 getFullUrl (EntityId $id)
 
 getLinkUrl (EntityId $id)
 

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

◆ getFullUrl()

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

Implements Wikibase\Lib\Store\EntityUrlLookup.

◆ 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: