/**
  * Edit comment.
  */
 function editComment($args)
 {
     CopyeditorHandler::validate();
     CopyeditorHandler::setupTemplate(true);
     $articleId = $args[0];
     $commentId = $args[1];
     list($journal, $submission) = SubmissionCopyeditHandler::validate($articleId);
     list($comment) = SubmissionCommentsHandler::validate($commentId);
     CopyeditorAction::editComment($submission, $comment);
 }
 /**
  * Edit comment.
  * @param $args array
  * @param $request PKPRequest
  */
 function editComment($args, &$request)
 {
     $articleId = (int) array_shift($args);
     $commentId = (int) array_shift($args);
     $this->addCheck(new HandlerValidatorSubmissionComment($this, $commentId));
     $this->validate($request, $articleId);
     $this->setupTemplate(true);
     CopyeditorAction::editComment($this->submission, $this->comment);
 }
 /**
  * Edit comment.
  */
 function editComment($args)
 {
     $articleId = $args[0];
     $commentId = $args[1];
     $this->addCheck(new HandlerValidatorSubmissionComment($this, $commentId));
     $this->validate();
     $comment =& $this->comment;
     $this->setupTemplate(true);
     $submissionCopyeditHandler = new SubmissionCopyeditHandler();
     $submissionCopyeditHandler->validate($articleId);
     $submission =& $submissionCopyeditHandler->submission;
     CopyeditorAction::editComment($submission, $comment);
 }