Store service for looking up and storing user subscriptions to message group. More...
Public Member Functions | |
__construct (IConnectionProvider $dbProvider) | |
addSubscription (string $groupId, int $userId) | |
getSubscriptions (?array $groupIds, ?int $userId) | |
getSubscriptionByGroupUnion (array $groupIds) | |
removeSubscriptions (string $groupId, int $userId) | |
Store service for looking up and storing user subscriptions to message group.
Definition at line 15 of file MessageGroupSubscriptionStore.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::__construct | ( | IConnectionProvider | $dbProvider | ) |
Definition at line 22 of file MessageGroupSubscriptionStore.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::addSubscription | ( | string | $groupId, |
int | $userId ) |
Definition at line 26 of file MessageGroupSubscriptionStore.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::getSubscriptionByGroupUnion | ( | array | $groupIds | ) |
Definition at line 62 of file MessageGroupSubscriptionStore.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::getSubscriptions | ( | ?array | $groupIds, |
?int | $userId ) |
Definition at line 39 of file MessageGroupSubscriptionStore.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupSubscriptionStore::removeSubscriptions | ( | string | $groupId, |
int | $userId ) |
Definition at line 75 of file MessageGroupSubscriptionStore.php.