|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| getIconClass ($notification) | |
| getNotificationContents ($request, $notification) | |
| getNotificationMessage ($request, $notification) | |
| getNotificationUrl ($request, $notification) | |
| getStyleClass ($notification) | |
| initialize (Announcement $announcement) | |
| notify (User $user) | |
Public Member Functions inherited from NotificationManagerDelegate | |
| __construct ($notificationType) | |
| createNotification ($request, $userId=null, $notificationType, $contextId=null, $assocType=null, $assocId=null, $level=NOTIFICATION_LEVEL_NORMAL, $params=null, $suppressEmail=false, callable $mailConfigurator=null) | |
| getNotificationType () | |
| updateNotification ($request, $userIds, $assocType, $assocId) | |
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') | |
| getNotificationTitle ($notification) | |
| getParamsForCurrentLocale ($params) | |
| isVisibleToAllUsers ($notificationType, $assocType, $assocId) | |
Data Fields | |
| $_announcement | |
Protected Member Functions | |
| getMailTemplate ($emailKey=null) | |
Protected Member Functions inherited from NotificationManagerDelegate | |
| multipleTypesUpdate () | |
Protected Member Functions inherited from PKPNotificationOperationManager | |
| fetchLinkActionNotificationContent ($linkAction, $request) | |
| getUserBlockedEmailedNotifications ($userId, $contextId) | |
| getUserBlockedNotifications ($userId, $contextId) | |
| sendNotificationEmail ($request, $notification, ?int $contextId, callable $mailConfigurator=null) | |
New announcement notification manager.
Definition at line 17 of file AnnouncementNotificationManager.inc.php.
| AnnouncementNotificationManager::getIconClass | ( | $notification | ) |
Provide the notification message as default content. Get the notification contents. Content is anything that's more than text, like presenting link actions inside fetched template files.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 63 of file AnnouncementNotificationManager.inc.php.
|
protected |
Get a template mail instance.
| $emailKey | string |
Reimplemented from PKPNotificationOperationManager.
Definition at line 99 of file AnnouncementNotificationManager.inc.php.
References PKPServices\get(), and PKPApplication\get().
| AnnouncementNotificationManager::getNotificationContents | ( | $request, | |
| $notification | |||
| ) |
Get the notification message. Only return translated locale key strings.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 42 of file AnnouncementNotificationManager.inc.php.
References PKPServices\get().
| AnnouncementNotificationManager::getNotificationMessage | ( | $request, | |
| $notification | |||
| ) |
Get the notification message. Only return translated locale key strings.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 35 of file AnnouncementNotificationManager.inc.php.
| AnnouncementNotificationManager::getNotificationUrl | ( | $request, | |
| $notification | |||
| ) |
Get a URL for the notification.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 49 of file AnnouncementNotificationManager.inc.php.
| AnnouncementNotificationManager::getStyleClass | ( | $notification | ) |
Provide the notification message as default content. Get the notification contents. Content is anything that's more than text, like presenting link actions inside fetched template files.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented from PKPNotificationOperationManager.
Definition at line 70 of file AnnouncementNotificationManager.inc.php.
| AnnouncementNotificationManager::initialize | ( | Announcement | $announcement | ) |
Initializes the class.
| Announcement | $announcement | The announcement to send |
Definition at line 28 of file AnnouncementNotificationManager.inc.php.
| AnnouncementNotificationManager::notify | ( | User | $user | ) |
Sends a notification to the given user.
| $user | User The user who will be notified |
Definition at line 79 of file AnnouncementNotificationManager.inc.php.
References PKPApplication\get().
| array AnnouncementNotificationManager::$_announcement |
The announcement to send a notification about
Definition at line 22 of file AnnouncementNotificationManager.inc.php.