function notifyCopyeditor($args = array()) { $articleId = Request::getUserVar('articleId'); list($journal, $submission) = SubmissionEditHandler::validate($articleId, SECTION_EDITOR_ACCESS_EDIT); $send = Request::getUserVar('send') ? true : false; parent::setupTemplate(true, $articleId, 'editing'); if (SectionEditorAction::notifyCopyeditor($submission, $send)) { Request::redirect(null, null, 'submissionEditing', $articleId); } }
function notifyCopyeditor($args = array()) { $articleId = Request::getUserVar('articleId'); $this->validate($articleId, SECTION_EDITOR_ACCESS_EDIT); $submission =& $this->submission; $send = Request::getUserVar('send') ? true : false; $this->setupTemplate(true, $articleId, 'editing'); if (SectionEditorAction::notifyCopyeditor($submission, $send)) { Request::redirect(null, null, 'submissionEditing', $articleId); } }