Open Journal Systems
3.3.0
|
Public Member Functions | |
_getArticleTitle ($notification) | |
getIconClass ($notification) | |
getNotificationMessage ($request, $notification) | |
getNotificationUrl ($request, $notification) | |
getStyleClass ($notification) | |
![]() | |
getNotificationContents ($request, $notification) | |
getNotificationTitle ($notification) | |
isVisibleToAllUsers ($notificationType, $assocType, $assocId) | |
updateNotification ($request, $notificationTypes, $userIds, $assocType, $assocId) | |
![]() | |
createNotification ($request, $userId=null, $notificationType, $contextId=null, $assocType=null, $assocId=null, $level=NOTIFICATION_LEVEL_NORMAL, $params=null, $suppressEmail=false, callable $mailConfigurator=null) | |
createTrivialNotification ($userId, $notificationType=NOTIFICATION_TYPE_SUCCESS, $params=null) | |
deleteTrivialNotifications ($notifications) | |
formatToGeneralNotification ($request, $notifications) | |
formatToInPlaceNotification ($request, $notifications) | |
getFormattedNotificationsForUser ($request, $userId, $level=NOTIFICATION_LEVEL_NORMAL, $contextId=null, $rangeInfo=null, $notificationTemplate='notification/notification.tpl') | |
getParamsForCurrentLocale ($params) | |
Data Fields | |
$privilegedRoles | |
Protected Member Functions | |
getMgrDelegate ($notificationType, $assocType, $assocId) | |
![]() | |
getByDelegate ($notificationType, $assocType, $assocId, $operationName, $parameters) | |
![]() | |
fetchLinkActionNotificationContent ($linkAction, $request) | |
getMailTemplate ($emailKey=null) | |
getUserBlockedEmailedNotifications ($userId, $contextId) | |
getUserBlockedNotifications ($userId, $contextId) | |
sendNotificationEmail ($request, $notification, ?int $contextId, callable $mailConfigurator=null) | |
Definition at line 19 of file NotificationManager.inc.php.
NotificationManager::_getArticleTitle | ( | $notification | ) |
Helper function to get an article title from a notification's associated object
$notification |
Definition at line 92 of file NotificationManager.inc.php.
References DAORegistry\getDAO().
NotificationManager::getIconClass | ( | $notification | ) |
Return a CSS class containing the icon of this notification type
$notification | Notification |
Reimplemented from PKPNotificationManager.
Definition at line 128 of file NotificationManager.inc.php.
|
protected |
Get the notification manager delegate based on the passed notification type.
$notificationType | int |
$assocType | int |
$assocId | int |
Reimplemented from PKPNotificationManager.
Definition at line 152 of file NotificationManager.inc.php.
NotificationManager::getNotificationMessage | ( | $request, | |
$notification | |||
) |
Construct the contents for the notification based on its type and associated object
$request | PKPRequest |
$notification | Notification |
Reimplemented from PKPNotificationManager.
Definition at line 53 of file NotificationManager.inc.php.
References HookRegistry\call().
NotificationManager::getNotificationUrl | ( | $request, | |
$notification | |||
) |
Construct a URL for the notification based on its type and associated object
$request | PKPRequest |
$notification | Notification |
Reimplemented from PKPNotificationManager.
Definition at line 33 of file NotificationManager.inc.php.
References Application\getContextDAO().
NotificationManager::getStyleClass | ( | $notification | ) |
get notification style class
$notification | Notification |
Reimplemented from PKPNotificationManager.
Definition at line 106 of file NotificationManager.inc.php.
NotificationManager::$privilegedRoles |
Definition at line 24 of file NotificationManager.inc.php.