/** * @see FilesListbuilderHandler::getRequestArgs */ function getRequestArgs() { $publicationFormat = $this->getAuthorizedContextObject(ASSOC_TYPE_PUBLICATION_FORMAT); $args = parent::getRequestArgs(); $args['representationId'] = $publicationFormat->getId(); return $args; }
/** * @copydoc FilesListbuilderHandler::getRequestArgs() */ function getRequestArgs() { $galley = $this->getAuthorizedContextObject(ASSOC_TYPE_GALLEY); $args = parent::getRequestArgs(); $args['representationId'] = $galley->getId(); return $args; }
/** * @copydoc FilesListbuilderHandler::getOptions() */ function getOptions() { import('lib.pkp.classes.submission.SubmissionFile'); $submission = $this->getAuthorizedContextObject(ASSOC_TYPE_SUBMISSION); $submissionFileDao = DAORegistry::getDAO('SubmissionFileDAO'); /* @var $submissionFileDao SubmissionFileDAO */ $submissionFiles = $submissionFileDao->getLatestRevisions($submission->getId(), $this->getFileStage()); return parent::getOptions($submissionFiles); }
/** * @copydoc GridHandler::getRequestArgs() */ function getRequestArgs() { return array_merge(parent::getRequestArgs(), array('chapterId' => $this->_chapterId)); }