|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($notificationType) | |
| _createNotification ($request, $submissionId, $userId, $notificationType, $contextId) | |
| _removeNotification ($submissionId, $userId, $notificationType, $contextId) | |
| getNotificationMessage ($request, $notification) | |
| getNotificationUrl ($request, $notification) | |
| getStyleClass ($notification) | |
| 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) | |
| getNotificationTitle ($notification) | |
| getParamsForCurrentLocale ($params) | |
| isVisibleToAllUsers ($notificationType, $assocType, $assocId) | |
Additional Inherited Members | |
Protected Member Functions inherited from NotificationManagerDelegate | |
| 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) | |
Editing and productionstatus notifications types manager delegate.
Definition at line 18 of file PKPEditingProductionStatusNotificationManager.inc.php.
| PKPEditingProductionStatusNotificationManager::__construct | ( | $notificationType | ) |
Constructor.
| $notificationType | int NOTIFICATION_TYPE_... |
Reimplemented from NotificationManagerDelegate.
Definition at line 24 of file PKPEditingProductionStatusNotificationManager.inc.php.
| PKPEditingProductionStatusNotificationManager::_createNotification | ( | $request, | |
| $submissionId, | |||
| $userId, | |||
| $notificationType, | |||
| $contextId | |||
| ) |
Create a notification if none exists.
| $request | PKPRequest |
| $submissionId | int |
| $userId | int |
| $notificationType | int NOTIFICATION_TYPE_ |
| $contextId | int |
Definition at line 219 of file PKPEditingProductionStatusNotificationManager.inc.php.
References DAORegistry\getDAO().
Referenced by updateNotification().
| PKPEditingProductionStatusNotificationManager::_removeNotification | ( | $submissionId, | |
| $userId, | |||
| $notificationType, | |||
| $contextId | |||
| ) |
Remove a notification.
| $submissionId | int |
| $userId | int |
| $notificationType | int NOTIFICATION_TYPE_ |
| $contextId | int |
Definition at line 200 of file PKPEditingProductionStatusNotificationManager.inc.php.
References DAORegistry\getDAO().
Referenced by updateNotification().
| PKPEditingProductionStatusNotificationManager::getNotificationMessage | ( | $request, | |
| $notification | |||
| ) |
Get the notification message. Only return translated locale key strings.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 31 of file PKPEditingProductionStatusNotificationManager.inc.php.
| PKPEditingProductionStatusNotificationManager::getNotificationUrl | ( | $request, | |
| $notification | |||
| ) |
Get a URL for the notification.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 49 of file PKPEditingProductionStatusNotificationManager.inc.php.
References PKPApplication\get(), and Application\getContextDAO().
| PKPEditingProductionStatusNotificationManager::getStyleClass | ( | $notification | ) |
Get the notification style class.
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 69 of file PKPEditingProductionStatusNotificationManager.inc.php.
| PKPEditingProductionStatusNotificationManager::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 76 of file PKPEditingProductionStatusNotificationManager.inc.php.
References _createNotification(), _removeNotification(), DAORegistry\getDAO(), NotificationManagerDelegate\getNotificationType(), and Application\getRepresentationDAO().