Open Journal Systems  3.3.0
SubmissionNotificationManager Class Reference
Inheritance diagram for SubmissionNotificationManager:
NotificationManagerDelegate PKPNotificationOperationManager INotificationInfoProvider

Public Member Functions

 __construct ($notificationType)
 
 getIconClass ($notification)
 
 getNotificationMessage ($request, $notification)
 
 getNotificationUrl ($request, $notification)
 
 getStyleClass ($notification)
 
- 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 ()
 
 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')
 
 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)
 

Detailed Description

Submission notification types manager delegate.

Definition at line 18 of file SubmissionNotificationManager.inc.php.

Constructor & Destructor Documentation

◆ __construct()

SubmissionNotificationManager::__construct (   $notificationType)

Constructor.

Parameters
$notificationTypeint NOTIFICATION_TYPE_...

Reimplemented from NotificationManagerDelegate.

Definition at line 24 of file SubmissionNotificationManager.inc.php.

Member Function Documentation

◆ getIconClass()

SubmissionNotificationManager::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.

Parameters
$requestPKPRequest
$notificationNotification
Returns
string

Reimplemented from PKPNotificationOperationManager.

Definition at line 79 of file SubmissionNotificationManager.inc.php.

◆ getNotificationMessage()

SubmissionNotificationManager::getNotificationMessage (   $request,
  $notification 
)

Get the notification message. Only return translated locale key strings.

Parameters
$requestPKPRequest
$notificationNotification
Returns
string

Reimplemented from PKPNotificationOperationManager.

Definition at line 31 of file SubmissionNotificationManager.inc.php.

References DAORegistry\getDAO().

◆ getNotificationUrl()

SubmissionNotificationManager::getNotificationUrl (   $request,
  $notification 
)

Get a URL for the notification.

Parameters
$requestPKPRequest
$notificationNotification
Returns
string

Reimplemented from PKPNotificationOperationManager.

Definition at line 53 of file SubmissionNotificationManager.inc.php.

References Application\getContextDAO().

◆ getStyleClass()

SubmissionNotificationManager::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.

Parameters
$requestPKPRequest
$notificationNotification
Returns
string

Reimplemented from PKPNotificationOperationManager.

Definition at line 95 of file SubmissionNotificationManager.inc.php.


The documentation for this class was generated from the following file: