Open Journal Systems
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, NotificationManager, SubmissionNotificationManager, PKPNotificationOperationManager, and AnnouncementNotificationManager.
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, NotificationManager, PendingRevisionsNotificationManager, QueryNotificationManager, ApproveSubmissionNotificationManager, PKPNotificationOperationManager, AnnouncementNotificationManager, EditorAssignmentNotificationManager, EditorDecisionNotificationManager, PKPEditingProductionStatusNotificationManager, and SubmissionNotificationManager.
INotificationInfoProvider::getNotificationTitle | ( | $notification | ) |
Get the notification title.
$notification | Notification |
Reimplemented in PKPNotificationManager, PendingRevisionsNotificationManager, EditorDecisionNotificationManager, PKPNotificationOperationManager, ApproveSubmissionNotificationManager, and QueryNotificationManager.
INotificationInfoProvider::getNotificationUrl | ( | $request, | |
$notification | |||
) |
Get a URL for the notification.
$request | PKPRequest |
$notification | Notification |
Reimplemented in EditorialReportNotificationManager, EditorDecisionNotificationManager, QueryNotificationManager, SubmissionNotificationManager, AnnouncementNotificationManager, PKPEditingProductionStatusNotificationManager, PendingRevisionsNotificationManager, NotificationManager, PKPApproveSubmissionNotificationManager, PKPNotificationOperationManager, and PKPNotificationManager.
INotificationInfoProvider::getStyleClass | ( | $notification | ) |
Get the notification style class.
$notification | Notification |
Reimplemented in PKPNotificationManager, EditorialReportNotificationManager, QueryNotificationManager, NotificationManager, SubmissionNotificationManager, AnnouncementNotificationManager, PKPEditingProductionStatusNotificationManager, PKPNotificationOperationManager, EditorDecisionNotificationManager, 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, EditorAssignmentNotificationManager, and PKPApproveSubmissionNotificationManager.