/** * @copydoc PKPNotificationOperationManager::getNotificationUrl() */ public function getNotificationUrl($request, $notification) { $url = parent::getNotificationUrl($request, $notification); $dispatcher = Application::getDispatcher(); $contextDao = Application::getContextDAO(); $context = $contextDao->getById($notification->getContextId()); switch ($notification->getType()) { case NOTIFICATION_TYPE_ASSIGN_COPYEDITOR: case NOTIFICATION_TYPE_AWAITING_COPYEDITS: case NOTIFICATION_TYPE_ASSIGN_PRODUCTIONUSER: case NOTIFICATION_TYPE_AWAITING_REPRESENTATIONS: assert($notification->getAssocType() == ASSOC_TYPE_SUBMISSION && is_numeric($notification->getAssocId())); return $dispatcher->url($request, ROUTE_PAGE, $context->getPath(), 'workflow', 'access', $notification->getAssocId()); default: assert(false); } }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function SubmissionNotificationManager($notificationType) { parent::NotificationManagerDelegate($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function __construct($notificationType) { parent::__construct($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function EditorDecisionNotificationManager($notificationType) { parent::NotificationManagerDelegate($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function SignoffNotificationManagerDelegate($notificationType) { parent::NotificationManagerDelegate($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function RevisionsNotificationManager($notificationType) { parent::NotificationManagerDelegate($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function QueryNotificationManagerDelegate($notificationType) { parent::NotificationManagerDelegate($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function EditorAssignmentNotificationManager($notificationType) { parent::NotificationManagerDelegate($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function AllReviewsInNotificationManager($notificationType) { parent::NotificationManagerDelegate($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function AuditorRequestNotificationManagerDelegate($notificationType) { parent::NotificationManagerDelegate($notificationType); }
/** * Constructor. * @param $notificationType int NOTIFICATION_TYPE_... */ function ReviewRoundNotificationManager($notificationType) { parent::NotificationManagerDelegate($notificationType); }