protected getUserBlockedNotifications ( $userId, $contextId ) : array | ||
$userId | int The notification user | |
$contextId | int | |
리턴 | array |
protected function getUserBlockedNotifications($userId, $contextId)
{
$notificationSubscriptionSettingsDao = DAORegistry::getDAO('NotificationSubscriptionSettingsDAO');
return $notificationSubscriptionSettingsDao->getNotificationSubscriptionSettings('blocked_notification', $userId, (int) $contextId);
}