/** * Change the sequence order of a galley. * @param $article object * @param $galleyId int * @param $direction char u = up, d = down */ function orderGalley($article, $galleyId, $direction) { import('classes.submission.layoutEditor.LayoutEditorAction'); LayoutEditorAction::orderGalley($article, $galleyId, $direction); }
/** * Change the sequence order of a galley. */ function orderGalley() { $articleId = Request::getUserVar('articleId'); $submissionLayoutHandler = new SubmissionLayoutHandler(); $submissionLayoutHandler->validate($articleId); $submission =& $submissionLayoutHandler->submission; LayoutEditorAction::orderGalley($submission, Request::getUserVar('galleyId'), Request::getUserVar('d')); Request::redirect(null, null, 'submission', $articleId); }
/** * Change the sequence order of a galley. */ function orderGalley() { $articleId = Request::getUserVar('articleId'); list($journal, $submission) = SubmissionLayoutHandler::validate($articleId, true); LayoutEditorAction::orderGalley($submission, Request::getUserVar('galleyId'), Request::getUserVar('d')); Request::redirect(null, null, 'submission', $articleId); }
/** * Change the sequence order of a galley. * @param $args array * @param $request PKPRequest */ function orderGalley($args, &$request) { $articleId = (int) $request->getUserVar('articleId'); $this->validate($request, $articleId); $submission =& $this->submission; LayoutEditorAction::orderGalley($submission, $request->getUserVar('galleyId'), $request->getUserVar('d')); $request->redirect(null, null, 'submission', $articleId); }