コード例 #1
0
 function restoreToQueue($args)
 {
     $articleId = isset($args[0]) ? (int) $args[0] : 0;
     $this->validate($articleId);
     $submission =& $this->submission;
     SectionEditorAction::restoreToQueue($submission);
     Request::redirect(null, null, 'submissionEditing', $articleId);
 }
コード例 #2
0
 function restoreToQueue($args)
 {
     $articleId = isset($args[0]) ? (int) $args[0] : 0;
     list($journal, $submission) = SubmissionEditHandler::validate($articleId);
     SectionEditorAction::restoreToQueue($submission);
     Request::redirect(null, null, 'submissionEditing', $articleId);
 }
コード例 #3
0
 /**
  * Restore an archived submission to the queue.
  * @param $args array
  * @param $request PKPRequest
  */
 function restoreToQueue($args, $request)
 {
     $articleId = (int) array_shift($args);
     $this->validate($articleId);
     SectionEditorAction::restoreToQueue($this->submission, $request);
     $request->redirect(null, null, 'submissionEditing', $articleId);
 }