|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($notificationType) | |
| getNotificationUrl ($request, $notification) | |
| getStyleClass ($notification) | |
| isVisibleToAllUsers ($notificationType, $assocType, $assocId) | |
| updateNotification ($request, $userIds, $assocType, $assocId) | |
Public Member Functions inherited from NotificationManagerDelegate | |
| createNotification ($request, $userId=null, $notificationType, $contextId=null, $assocType=null, $assocId=null, $level=NOTIFICATION_LEVEL_NORMAL, $params=null, $suppressEmail=false, callable $mailConfigurator=null) | |
| getNotificationType () | |
Public Member Functions inherited from PKPNotificationOperationManager | |
| 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') | |
| getIconClass ($notification) | |
| getNotificationContents ($request, $notification) | |
| getNotificationMessage ($request, $notification) | |
| getNotificationTitle ($notification) | |
| getParamsForCurrentLocale ($params) | |
Protected Member Functions | |
| multipleTypesUpdate () | |
Protected Member Functions inherited from PKPNotificationOperationManager | |
| fetchLinkActionNotificationContent ($linkAction, $request) | |
| getMailTemplate ($emailKey=null) | |
| getUserBlockedEmailedNotifications ($userId, $contextId) | |
| getUserBlockedNotifications ($userId, $contextId) | |
| sendNotificationEmail ($request, $notification, ?int $contextId, callable $mailConfigurator=null) | |
Approve submission notification type manager delegate.
Definition at line 18 of file PKPApproveSubmissionNotificationManager.inc.php.
| PKPApproveSubmissionNotificationManager::__construct | ( | $notificationType | ) |
Constructor.
| $notificationType | int NOTIFICATION_TYPE_... |
Reimplemented from NotificationManagerDelegate.
Reimplemented in ApproveSubmissionNotificationManager.
Definition at line 24 of file PKPApproveSubmissionNotificationManager.inc.php.
| PKPApproveSubmissionNotificationManager::getNotificationUrl | ( | $request, | |
| $notification | |||
| ) |
Get a URL for the notification.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 31 of file PKPApproveSubmissionNotificationManager.inc.php.
References PKPApplication\get().
| PKPApproveSubmissionNotificationManager::getStyleClass | ( | $notification | ) |
Get the notification style class.
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 40 of file PKPApproveSubmissionNotificationManager.inc.php.
| PKPApproveSubmissionNotificationManager::isVisibleToAllUsers | ( | $notificationType, | |
| $assocType, | |||
| $assocId | |||
| ) |
Whether any notification with the passed notification type is visible to all users or not.
| $notificationType | int |
| $assocType | int ASSOC_TYPE_... |
| $assocId | int |
Reimplemented from PKPNotificationOperationManager.
Definition at line 47 of file PKPApproveSubmissionNotificationManager.inc.php.
|
protected |
Reimplemented from NotificationManagerDelegate.
Definition at line 100 of file PKPApproveSubmissionNotificationManager.inc.php.
| PKPApproveSubmissionNotificationManager::updateNotification | ( | $request, | |
| $userIds, | |||
| $assocType, | |||
| $assocId | |||
| ) |
Define operations to update notifications.
| $request | PKPRequest Request object |
| $userIds | array List of user IDs to notify |
| $assocType | int ASSOC_TYPE_... |
| $assocId | int ID corresponding to $assocType |
Reimplemented from NotificationManagerDelegate.
Definition at line 54 of file PKPApproveSubmissionNotificationManager.inc.php.
References NotificationManagerDelegate\createNotification(), and DAORegistry\getDAO().