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

Public Member Functions

 getStyleClass ($notification)
 
 RevisionsNotificationManager ($notificationType)
 
- 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)
 

Protected Member Functions

 findValidPendingRevisionsDecision ($submissionId, $expectedStageId)
 
 responseExists ($decision, $submissionId)
 
- Protected Member Functions inherited from NotificationManagerDelegate
 getNotificationType ()
 

Detailed Description

Base class for revision notification types manager delegate.

Definition at line 20 of file RevisionsNotificationManager.inc.php.

Member Function Documentation

RevisionsNotificationManager::findValidPendingRevisionsDecision (   $submissionId,
  $expectedStageId 
)
protected

Find any still valid pending revisions decision for the passed submission id. A valid decision is one that is not overriden by any other decision.

Parameters
$submissionIdint
$expectedStageIdint
Returns
mixed array or null

Definition at line 49 of file RevisionsNotificationManager.inc.php.

References DAORegistry\getDAO().

Referenced by AllRevisionsInNotificationManager\updateNotification(), and PendingRevisionsNotificationManager\updateNotification().

RevisionsNotificationManager::getStyleClass (   $notification)

Get the notification style class.

Parameters
$notificationNotification
Returns
string

Definition at line 33 of file RevisionsNotificationManager.inc.php.

RevisionsNotificationManager::responseExists (   $decision,
  $submissionId 
)
protected

Find any file upload that's a revision and can be considered as a pending revisions decision response.

Parameters
$decisionarray
$submissionIdint
Returns
boolean

Definition at line 86 of file RevisionsNotificationManager.inc.php.

References DAORegistry\getDAO().

Referenced by AllRevisionsInNotificationManager\updateNotification(), and PendingRevisionsNotificationManager\updateNotification().

RevisionsNotificationManager::RevisionsNotificationManager (   $notificationType)

Constructor.

Parameters
$notificationTypeint NOTIFICATION_TYPE_...

Definition at line 26 of file RevisionsNotificationManager.inc.php.


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