Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
EditorDecisionNotificationManager Class Reference
Inheritance diagram for EditorDecisionNotificationManager:
NotificationManagerDelegate

Public Member Functions

 _getAllEditorDecisionNotificationTypes ()
 
 _getNotificationTaskLevel ($type)
 
 EditorDecisionNotificationManager ($notificationType)
 
 getNotificationMessage ($request, $notification)
 
 getNotificationTitle ($notification)
 
 getNotificationUrl ($request, $notification)
 
 getStyleClass ($notification)
 
 updateNotification ($request, $userIds, $assocType, $assocId)
 
- Public Member Functions inherited from NotificationManagerDelegate
 getIconClass ($notification)
 
 getNotificationContents ($request, $notification)
 
 getNotificationMessage ($request, $notification)
 
 getNotificationTitle ($notification)
 
 getNotificationUrl ($request, $notification)
 
 getStyleClass ($notification)
 
 isVisibleToAllUsers ($notificationType, $assocType, $assocId)
 
 NotificationManagerDelegate ($notificationType)
 
 updateNotification ($request, $userIds, $assocType, $assocId)
 

Additional Inherited Members

- Protected Member Functions inherited from NotificationManagerDelegate
 getNotificationType ()
 

Detailed Description

Editor decision notification types manager delegate.

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

Member Function Documentation

EditorDecisionNotificationManager::_getAllEditorDecisionNotificationTypes ( )

Get all notification types corresponding to editor decisions.

Returns
array

Definition at line 135 of file EditorDecisionNotificationManager.inc.php.

Referenced by updateNotification().

EditorDecisionNotificationManager::_getNotificationTaskLevel (   $type)

Get the notification level for the type of notification being created.

Parameters
int$type
Returns
int

Definition at line 152 of file EditorDecisionNotificationManager.inc.php.

Referenced by updateNotification().

EditorDecisionNotificationManager::EditorDecisionNotificationManager (   $notificationType)

Constructor.

Parameters
$notificationTypeint NOTIFICATION_TYPE_...

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

EditorDecisionNotificationManager::getNotificationMessage (   $request,
  $notification 
)

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

Parameters
$requestPKPRequest
$notificationNotification
Returns
string

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

EditorDecisionNotificationManager::getNotificationTitle (   $notification)

Get the notification title.

Parameters
$notificationNotification
Returns
string

Definition at line 62 of file EditorDecisionNotificationManager.inc.php.

EditorDecisionNotificationManager::getNotificationUrl (   $request,
  $notification 
)

Get a URL for the notification.

Parameters
$requestPKPRequest
$notificationNotification
Returns
string

Definition at line 108 of file EditorDecisionNotificationManager.inc.php.

References Application\getContextDAO(), SubmissionsListGridCellProvider\getPageAndOperationByUserRoles(), and Application\getSubmissionDAO().

EditorDecisionNotificationManager::getStyleClass (   $notification)

Get the notification style class.

Parameters
$notificationNotification
Returns
string

Definition at line 55 of file EditorDecisionNotificationManager.inc.php.

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

Define operations to update notifications.

Parameters
$requestPKPRequest
$userIdsarray
$assocTypeint
$assocIdint

Definition at line 69 of file EditorDecisionNotificationManager.inc.php.

References _getAllEditorDecisionNotificationTypes(), _getNotificationTaskLevel(), DAORegistry\getDAO(), and NotificationManagerDelegate\getNotificationType().


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