Store service for looking up and storing user subscriptions to message group.
More...
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.
◆ __construct()
| MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::__construct |
( |
private readonly IConnectionProvider | $dbProvider | ) |
|
◆ addSubscription()
| MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::addSubscription |
( |
string | $groupId, |
|
|
int | $userId ) |
◆ getGroupIdForDatabase()
| static MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::getGroupIdForDatabase |
( |
MessageGroup|string | $groupId | ) |
|
|
static |
◆ getSubscriptionByGroupUnion()
| MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::getSubscriptionByGroupUnion |
( |
array | $groupIds | ) |
|
◆ getSubscriptions()
| MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::getSubscriptions |
( |
?array | $groupIds, |
|
|
?int | $userId ) |
◆ removeSubscriptions()
| MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::removeSubscriptions |
( |
string | $groupId, |
|
|
int | $userId ) |
The documentation for this class was generated from the following file: