function completeCopyedit($args) { $articleId = Request::getUserVar('articleId'); list($journal, $submission) = SubmissionCopyeditHandler::validate($articleId); parent::setupTemplate($articleId); if (CopyeditorAction::completeCopyedit($submission, Request::getUserVar('send'))) { Request::redirect(null, null, 'submission', $articleId); } }
/** * Complete a copyedit. * @param $args array * @param $request PKPRequest */ function completeCopyedit($args, $request) { $articleId = (int) $request->getUserVar('articleId'); $this->validate($request, $articleId); $this->setupTemplate(true, $articleId); if (CopyeditorAction::completeCopyedit($this->submission, $request->getUserVar('send'), $request)) { $request->redirect(null, null, 'submission', $articleId); } }
function completeCopyedit($args) { $articleId = Request::getUserVar('articleId'); $this->validate($articleId); $submission =& $this->submission; $this->setupTemplate(true, $articleId); if (CopyeditorAction::completeCopyedit($submission, Request::getUserVar('send'))) { Request::redirect(null, null, 'submission', $articleId); } }