Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore Class Reference

Store service for looking up and storing user subscriptions to message group. More...

Public Member Functions

 __construct (IConnectionProvider $connectionProvider)
 
 addSubscription (string $groupId, int $userId)
 
 getSubscriptions (?array $groupIds, ?int $userId)
 
 removeSubscriptions (string $groupId, int $userId)
 

Detailed Description

Store service for looking up and storing user subscriptions to message group.

Since
2024.04 @license GPL-2.0-or-later
Author
Abijeet Patro

Definition at line 15 of file MessageGroupSubscriptionStore.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::__construct ( IConnectionProvider $connectionProvider)

Definition at line 21 of file MessageGroupSubscriptionStore.php.

Member Function Documentation

◆ addSubscription()

MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::addSubscription ( string $groupId,
int $userId )

Definition at line 25 of file MessageGroupSubscriptionStore.php.

◆ getSubscriptions()

MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::getSubscriptions ( ?array $groupIds,
?int $userId )

Definition at line 37 of file MessageGroupSubscriptionStore.php.

◆ removeSubscriptions()

MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::removeSubscriptions ( string $groupId,
int $userId )

Definition at line 60 of file MessageGroupSubscriptionStore.php.


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