__construct() public method

Constructor.
public __construct ( $request, $template, $submissionId, $stageId, $fileStage, $revisionOnly = false, $reviewRound = null, $revisedFileId = null, $assocType = null, $assocId = null )
$request Request
$template string
$submissionId integer
$stageId integer One of the WORKFLOW_STAGE_ID_* constants.
$fileStage integer
$revisionOnly boolean
$reviewRound ReviewRound
$revisedFileId integer
 /**
  * Constructor.
  * @param $request Request
  * @param $submissionId integer
  * @param $stageId integer One of the WORKFLOW_STAGE_ID_* constants.
  * @param $fileStage integer
  * @param $revisedFileId integer
  * @param $uploadedFile integer
  */
 function __construct($request, $submissionId, $stageId, $fileStage, &$reviewRound, $revisedFileId = null, $assocType = null, $assocId = null, $uploadedFile = null)
 {
     // Initialize class.
     parent::__construct($request, 'controllers/wizard/fileUpload/form/fileUploadConfirmationForm.tpl', $submissionId, $stageId, $fileStage, false, $reviewRound, $revisedFileId, $assocType, $assocId);
     if (is_a($uploadedFile, 'SubmissionFile')) {
         $this->setData('uploadedFile', $uploadedFile);
     }
 }
 /**
  * Constructor.
  * @param $request Request
  * @param $submissionId integer
  * @param $uploaderRoles array
  * @param $uploaderGroupIds array|null
  * @param $stageId integer One of the WORKFLOW_STAGE_ID_* constants.
  * @param $fileStage integer
  * @param $revisionOnly boolean
  * @param $stageId integer
  * @param $reviewRound ReviewRound
  * @param $revisedFileId integer
  */
 function __construct($request, $submissionId, $stageId, $uploaderRoles, $uploaderGroupIds, $fileStage, $revisionOnly = false, $reviewRound = null, $revisedFileId = null, $assocType = null, $assocId = null)
 {
     // Initialize class.
     assert(is_null($uploaderRoles) || is_array($uploaderRoles) && count($uploaderRoles) >= 1);
     $this->_uploaderRoles = $uploaderRoles;
     assert(is_null($uploaderGroupIds) || is_array($uploaderGroupIds) && count($uploaderGroupIds) >= 1);
     $this->_uploaderGroupIds = $uploaderGroupIds;
     AppLocale::requireComponents(LOCALE_COMPONENT_APP_MANAGER);
     parent::__construct($request, 'controllers/wizard/fileUpload/form/fileUploadForm.tpl', $submissionId, $stageId, $fileStage, $revisionOnly, $reviewRound, $revisedFileId, $assocType, $assocId);
     // Disable the genre selector for review file attachments
     if ($fileStage == SUBMISSION_FILE_REVIEW_ATTACHMENT) {
         $this->setData('isReviewAttachment', true);
     }
 }