コード例 #1
0
 /**
  * Constructor
  * @param $request Request
  * @param $monographId integer The id of the monograph
  *  from which to select files.
  */
 function __construct($request, $monographId, $actionLabel)
 {
     $actionArgs = array('submissionId' => $monographId);
     parent::__construct($request, $actionArgs, $actionLabel);
 }
 /**
  * Constructor
  * @param $request Request
  * @param $reviewRound ReviewRound The review round from which to
  *  select review files.
  * @param $actionLabel string The localized label of the link action.
  * @param $modalTitle string the (optional) title to be used for the modal.
  */
 function __construct($request, $reviewRound, $actionLabel, $modalTitle = null)
 {
     $actionArgs = array('submissionId' => $reviewRound->getSubmissionId(), 'stageId' => $reviewRound->getStageId(), 'reviewRoundId' => $reviewRound->getId());
     parent::__construct($request, $actionArgs, $actionLabel, $modalTitle);
 }