/** * Get the notification request options. * @param $submission Submission * @return array */ protected function _getNotificationRequestOptions($submission) { $submissionAssocTypeAndIdArray = array(ASSOC_TYPE_SUBMISSION, $submission->getId()); $notificationRequestOptions = parent::_getNotificationRequestOptions($submission); $notificationRequestOptions[NOTIFICATION_LEVEL_TASK][NOTIFICATION_TYPE_PENDING_INTERNAL_REVISIONS] = $submissionAssocTypeAndIdArray; $notificationRequestOptions[NOTIFICATION_LEVEL_NORMAL][NOTIFICATION_TYPE_EDITOR_DECISION_INTERNAL_REVIEW] = $submissionAssocTypeAndIdArray; return $notificationRequestOptions; }
/** * Constructor */ function AuthorDashboardHandler() { parent::PKPAuthorDashboardHandler(); }
/** * Constructor */ function __construct() { parent::__construct(); }
/** * @see PKPHandler::authorize() */ function authorize($request, &$args, $roleAssignments) { import('classes.security.authorization.OjsAuthorDashboardAccessPolicy'); $this->addPolicy(new OjsAuthorDashboardAccessPolicy($request, $args, $roleAssignments), true); return parent::authorize($request, $args, $roleAssignments); }