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

Public Member Functions

 __construct ($notificationType)
 
 getNotificationUrl ($request, $notification)
 
 getStyleClass ($notification)
 
 isVisibleToAllUsers ($notificationType, $assocType, $assocId)
 
 updateNotification ($request, $userIds, $assocType, $assocId)
 
- 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 ()
 
- 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')
 
 getIconClass ($notification)
 
 getNotificationContents ($request, $notification)
 
 getNotificationMessage ($request, $notification)
 
 getNotificationTitle ($notification)
 
 getParamsForCurrentLocale ($params)
 

Protected Member Functions

 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

Approve submission notification type manager delegate.

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

Constructor & Destructor Documentation

◆ __construct()

PKPApproveSubmissionNotificationManager::__construct (   $notificationType)

Constructor.

Parameters
$notificationTypeint NOTIFICATION_TYPE_...

Reimplemented from NotificationManagerDelegate.

Reimplemented in ApproveSubmissionNotificationManager.

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

Member Function Documentation

◆ getNotificationUrl()

PKPApproveSubmissionNotificationManager::getNotificationUrl (   $request,
  $notification 
)

Get a URL for the notification.

Parameters
$requestPKPRequest
$notificationNotification
Returns
string

Reimplemented from PKPNotificationOperationManager.

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

References PKPApplication\get().

◆ getStyleClass()

PKPApproveSubmissionNotificationManager::getStyleClass (   $notification)

Get the notification style class.

Parameters
$notificationNotification
Returns
string

Reimplemented from PKPNotificationOperationManager.

Definition at line 40 of file PKPApproveSubmissionNotificationManager.inc.php.

◆ isVisibleToAllUsers()

PKPApproveSubmissionNotificationManager::isVisibleToAllUsers (   $notificationType,
  $assocType,
  $assocId 
)

Whether any notification with the passed notification type is visible to all users or not.

Parameters
$notificationTypeint
$assocTypeint ASSOC_TYPE_...
$assocIdint
Returns
boolean

Reimplemented from PKPNotificationOperationManager.

Definition at line 47 of file PKPApproveSubmissionNotificationManager.inc.php.

◆ multipleTypesUpdate()

PKPApproveSubmissionNotificationManager::multipleTypesUpdate ( )
protected

Reimplemented from NotificationManagerDelegate.

Definition at line 100 of file PKPApproveSubmissionNotificationManager.inc.php.

◆ updateNotification()

PKPApproveSubmissionNotificationManager::updateNotification (   $request,
  $userIds,
  $assocType,
  $assocId 
)

Define operations to update notifications.

Parameters
$requestPKPRequest Request object
$userIdsarray List of user IDs to notify
$assocTypeint ASSOC_TYPE_...
$assocIdint ID corresponding to $assocType
Returns
boolean True iff success

Reimplemented from NotificationManagerDelegate.

Definition at line 54 of file PKPApproveSubmissionNotificationManager.inc.php.

References NotificationManagerDelegate\createNotification(), and DAORegistry\getDAO().


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