|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| getIconClass ($notification) | |
| getNotificationContents ($request, $notification) | |
| getNotificationMessage ($request, $notification) | |
| getNotificationTitle ($notification) | |
| getNotificationUrl ($request, $notification) | |
| getStyleClass ($notification) | |
| isVisibleToAllUsers ($notificationType, $assocType, $assocId) | |
Interface to retrieve notification presentation information.
Definition at line 23 of file INotificationInfoProvider.inc.php.
| INotificationInfoProvider::getIconClass | ( | $notification | ) |
Get the notification icon class.
| $notification | Notification |
Reimplemented in PKPNotificationManager, EditorialReportNotificationManager, SubmissionNotificationManager, PKPNotificationOperationManager, AnnouncementNotificationManager, and NotificationManager.
| INotificationInfoProvider::getNotificationContents | ( | $request, | |
| $notification | |||
| ) |
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 in EditorialReportNotificationManager, PKPNotificationManager, QueryNotificationManager, PendingRevisionsNotificationManager, PKPNotificationOperationManager, and AnnouncementNotificationManager.
| INotificationInfoProvider::getNotificationMessage | ( | $request, | |
| $notification | |||
| ) |
Get the notification message. Only return translated locale key strings.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented in EditorialReportNotificationManager, PKPNotificationManager, ApproveSubmissionNotificationManager, PendingRevisionsNotificationManager, QueryNotificationManager, PKPNotificationOperationManager, AnnouncementNotificationManager, EditorAssignmentNotificationManager, EditorDecisionNotificationManager, PKPEditingProductionStatusNotificationManager, and SubmissionNotificationManager.
| INotificationInfoProvider::getNotificationTitle | ( | $notification | ) |
Get the notification title.
| $notification | Notification |
Reimplemented in PKPNotificationManager, PendingRevisionsNotificationManager, EditorDecisionNotificationManager, PKPNotificationOperationManager, ApproveSubmissionNotificationManager, QueryNotificationManager, and NotificationManager.
| INotificationInfoProvider::getNotificationUrl | ( | $request, | |
| $notification | |||
| ) |
Get a URL for the notification.
| $request | PKPRequest |
| $notification | Notification |
Reimplemented in EditorialReportNotificationManager, EditorDecisionNotificationManager, QueryNotificationManager, SubmissionNotificationManager, AnnouncementNotificationManager, PKPEditingProductionStatusNotificationManager, PendingRevisionsNotificationManager, ApproveSubmissionNotificationManager, PKPApproveSubmissionNotificationManager, PKPNotificationOperationManager, and PKPNotificationManager.
| INotificationInfoProvider::getStyleClass | ( | $notification | ) |
Get the notification style class.
| $notification | Notification |
Reimplemented in PKPNotificationManager, EditorialReportNotificationManager, QueryNotificationManager, SubmissionNotificationManager, AnnouncementNotificationManager, PKPEditingProductionStatusNotificationManager, PKPNotificationOperationManager, EditorDecisionNotificationManager, NotificationManager, EditorAssignmentNotificationManager, PKPApproveSubmissionNotificationManager, and PendingRevisionsNotificationManager.
| INotificationInfoProvider::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 in PKPNotificationManager, PKPNotificationOperationManager, NotificationManager, EditorAssignmentNotificationManager, and PKPApproveSubmissionNotificationManager.