Example #1
0
 /**
  * @copydoc GridDataProvider::getRequestArgs()
  */
 function getRequestArgs()
 {
     $issue = $this->getAuthorizedContextObject(ASSOC_TYPE_ISSUE);
     return array_merge(parent::getRequestArgs(), array('issueId' => $issue->getId()));
 }
 /**
  * @copydoc GridDataProvider::getRequestArgs()
  */
 function getRequestArgs()
 {
     $submission = $this->getSubmission();
     $signoff = $this->getAuthorizedContextObject(ASSOC_TYPE_SIGNOFF);
     $args = array_merge(parent::getRequestArgs(), array('submissionId' => $submission->getId(), 'stageId' => $this->getStageId()));
     if (is_a($signoff, 'Signoff')) {
         $args['signoffId'] = $signoff->getId();
     }
     return $args;
 }
 /**
  * @see GridDataProvider::getRequestArgs()
  */
 function getRequestArgs()
 {
     $monograph = $this->getMonograph();
     return array_merge(parent::getRequestArgs(), array('submissionId' => $monograph->getId()));
 }
 /**
  * @copydoc GridHandler::getRequestArgs()
  */
 function getRequestArgs()
 {
     $submission = $this->getSubmission();
     return array_merge(parent::getRequestArgs(), array('submissionId' => $submission->getId(), 'stageId' => $this->getStageId()));
 }
 /**
  * Get the arguments that will identify the data in the grid
  * In this case, the context.
  * @return array
  */
 function getRequestArgs()
 {
     $context = $this->getContext();
     return array_merge(parent::getRequestArgs(), array('contextId' => $context->getId()));
 }