function notifyReviewer($args = array())
 {
     $articleId = Request::getUserVar('articleId');
     $this->validate($articleId, SECTION_EDITOR_ACCESS_REVIEW);
     $submission =& $this->submission;
     $reviewId = Request::getUserVar('reviewId');
     $send = Request::getUserVar('send') ? true : false;
     $this->setupTemplate(true, $articleId, 'review');
     if (SectionEditorAction::notifyReviewer($submission, $reviewId, $send)) {
         Request::redirect(null, null, 'submissionReview', $articleId);
     }
 }
 function notifyReviewer($args = array())
 {
     $articleId = Request::getUserVar('articleId');
     list($journal, $submission) = SubmissionEditHandler::validate($articleId, SECTION_EDITOR_ACCESS_REVIEW);
     $reviewId = Request::getUserVar('reviewId');
     $send = Request::getUserVar('send') ? true : false;
     parent::setupTemplate(true, $articleId, 'review');
     if (SectionEditorAction::notifyReviewer($submission, $reviewId, $send)) {
         Request::redirect(null, null, 'submissionReview', $articleId);
     }
 }
 function notifyReviewer($args = array())
 {
     $articleId = isset($args[0]) ? $args[0] : 0;
     $reviewId = isset($args[1]) ? $args[1] : 0;
     $this->validate($articleId, SECTION_EDITOR_ACCESS_REVIEW);
     $submission =& $this->submission;
     //send emails by default
     SectionEditorAction::notifyReviewer($submission, $reviewId, 0, true);
     Request::redirect(null, null, 'submissionReview', $articleId);
 }