예제 #1
0
 /**
  * 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;
 }
예제 #2
0
 /**
  * Constructor
  */
 function AuthorDashboardHandler()
 {
     parent::PKPAuthorDashboardHandler();
 }
예제 #3
0
 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
 }
예제 #4
0
 /**
  * @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);
 }