/**
  * @copydoc GridDataProvider::getRequestArgs()
  */
 function getRequestArgs()
 {
     $reviewRound = $this->getReviewRound();
     return array_merge(parent::getRequestArgs(), array('reviewRoundId' => $reviewRound->getId()));
 }
 /**
  * Constructor
  */
 function FinalDraftFilesGridDataProvider()
 {
     parent::SubmissionFilesGridDataProvider(SUBMISSION_FILE_FINAL);
     $this->setViewableOnly(true);
 }
 /**
  * @copydoc GridHandler::getRequestArgs()
  */
 function getRequestArgs()
 {
     $representation = $this->getRepresentation();
     return array_merge(parent::getRequestArgs(), array('representationId' => $representation->getId(), 'assocType' => ASSOC_TYPE_REPRESENTATION, 'assocId' => $representation->getId()));
 }
 /**
  * @copydoc GridDataProvider::getRequestArgs()
  */
 function getRequestArgs()
 {
     $query = $this->getAuthorizedContextObject(ASSOC_TYPE_QUERY);
     $representation = $this->getAuthorizedContextObject(ASSOC_TYPE_REPRESENTATION);
     return array_merge(parent::getRequestArgs(), array('assocType' => ASSOC_TYPE_NOTE, 'assocId' => $this->_noteId, 'queryId' => $query->getId(), 'noteId' => $this->_noteId, 'representationId' => $representation ? $representation->getId() : null));
 }
 /**
  * Constructor
  * @param $assocId int Association ID
  */
 function DependentFilesGridDataProvider($assocId)
 {
     assert(is_numeric($assocId));
     $this->_assocId = (int) $assocId;
     parent::SubmissionFilesGridDataProvider(SUBMISSION_FILE_DEPENDENT);
 }
 /**
  * @copydoc GridDataProvider::getRequestArgs()
  */
 function getRequestArgs()
 {
     return array_merge(parent::getRequestArgs(), array('assocType' => ASSOC_TYPE_REVIEW_ASSIGNMENT, 'assocId' => $this->_getReviewId()));
 }
 /**
  * Constructor
  */
 function AuthorSignoffFilesGridDataProvider($symbolic, $stageId)
 {
     parent::SubmissionFilesGridDataProvider(SUBMISSION_FILE_PROOF);
     $this->setStageId($stageId);
     $this->_symbolic = $symbolic;
 }
 /**
  * @see GridDataProvider::getRequestArgs()
  */
 function getRequestArgs()
 {
     return array_merge(parent::getRequestArgs(), array('representationId', $this->_getPublicationFormatId()));
 }
 /**
  * Constructor
  */
 function CopyeditFilesGridDataProvider()
 {
     parent::SubmissionFilesGridDataProvider(SUBMISSION_FILE_COPYEDIT);
     $this->setViewableOnly(true);
 }
 /**
  * Constructor
  * @param $assocId int Association ID
  */
 function __construct($assocId)
 {
     assert(is_numeric($assocId));
     $this->_assocId = (int) $assocId;
     parent::__construct(SUBMISSION_FILE_DEPENDENT);
 }
 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct(SUBMISSION_FILE_FINAL);
     $this->setViewableOnly(true);
 }