/** * Post peer review comments. * @param $args array * @param $request PKPRequest */ function postEditorDecisionComment($args, $request) { $articleId = (int) $request->getUserVar('articleId'); $this->validate($articleId); $this->setupTemplate(true); // If the user pressed the "Save and email" button, then email the comment. $emailComment = $request->getUserVar('saveAndEmail') != null ? true : false; if (SectionEditorAction::postEditorDecisionComment($this->submission, $emailComment, $request)) { SectionEditorAction::viewEditorDecisionComments($this->submission); } }
/** * Post peer review comments. */ function postEditorDecisionComment() { SectionEditorHandler::validate(); SectionEditorHandler::setupTemplate(true); $articleId = Request::getUserVar('articleId'); // If the user pressed the "Save and email" button, then email the comment. $emailComment = Request::getUserVar('saveAndEmail') != null ? true : false; list($journal, $submission) = SubmissionEditHandler::validate($articleId); if (SectionEditorAction::postEditorDecisionComment($submission, $emailComment)) { SectionEditorAction::viewEditorDecisionComments($submission); } }
/** * Post peer review comments. */ function postEditorDecisionComment() { $this->validate(); $this->setupTemplate(true); $articleId = Request::getUserVar('articleId'); // If the user pressed the "Save and email" button, then email the comment. $emailComment = Request::getUserVar('saveAndEmail') != null ? true : false; $submissionEditHandler = new SubmissionEditHandler(); $submissionEditHandler->validate($articleId); $submission =& $submissionEditHandler->submission; if (SectionEditorAction::postEditorDecisionComment($submission, $emailComment)) { SectionEditorAction::viewEditorDecisionComments($submission); } }