Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Store\Sql\SqlSubscriptionLookup Class Reference

Implementation of SubscriptionLookup based on a database table. More...

+ Inheritance diagram for Wikibase\Repo\Store\Sql\SqlSubscriptionLookup:
+ Collaboration diagram for Wikibase\Repo\Store\Sql\SqlSubscriptionLookup:

Public Member Functions

 __construct (RepoDomainDb $repoDomainDb)
 
 getSubscribers (EntityId $idToCheck)
 Return the existing subscriptions for given Id to check.
 

Private Attributes

 $repoConnections
 

Detailed Description

Implementation of SubscriptionLookup based on a database table.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Store\Sql\SqlSubscriptionLookup::__construct ( RepoDomainDb $repoDomainDb)

Member Function Documentation

◆ getSubscribers()

Wikibase\Repo\Store\Sql\SqlSubscriptionLookup::getSubscribers ( EntityId $idToCheck)

Return the existing subscriptions for given Id to check.

Parameters
EntityId$idToCheckEntityId to get subscribers
Returns
string[] wiki IDs of wikis subscribed to the given entity

Implements Wikibase\Repo\Store\SubscriptionLookup.

Member Data Documentation

◆ $repoConnections

Wikibase\Repo\Store\Sql\SqlSubscriptionLookup::$repoConnections
private

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