Open Journal Systems  3.3.0
INotificationInfoProvider.inc.php
1 <?php
2 
15 define('NOTIFICATION_STYLE_CLASS_WARNING', 'notifyWarning');
16 define('NOTIFICATION_STYLE_CLASS_INFORMATION', 'notifyInfo');
17 define('NOTIFICATION_STYLE_CLASS_SUCCESS', 'notifySuccess');
18 define('NOTIFICATION_STYLE_CLASS_ERROR', 'notifyError');
19 define('NOTIFICATION_STYLE_CLASS_FORM_ERROR', 'notifyFormError');
20 define('NOTIFICATION_STYLE_CLASS_FORBIDDEN', 'notifyForbidden');
21 define('NOTIFICATION_STYLE_CLASS_HELP', 'notifyHelp');
22 
24 
31  public function getNotificationUrl($request, $notification);
32 
40  public function getNotificationMessage($request, $notification);
41 
50  public function getNotificationContents($request, $notification);
51 
57  public function getNotificationTitle($notification);
58 
64  public function getStyleClass($notification);
65 
71  public function getIconClass($notification);
72 
81  public function isVisibleToAllUsers($notificationType, $assocType, $assocId);
82 }
83 
84 
INotificationInfoProvider\getNotificationTitle
getNotificationTitle($notification)
INotificationInfoProvider
Interface to retrieve notification presentation information.
Definition: INotificationInfoProvider.inc.php:23
INotificationInfoProvider\getStyleClass
getStyleClass($notification)
INotificationInfoProvider\getNotificationContents
getNotificationContents($request, $notification)
INotificationInfoProvider\getNotificationMessage
getNotificationMessage($request, $notification)
INotificationInfoProvider\getNotificationUrl
getNotificationUrl($request, $notification)
INotificationInfoProvider\getIconClass
getIconClass($notification)
INotificationInfoProvider\isVisibleToAllUsers
isVisibleToAllUsers($notificationType, $assocType, $assocId)