/** * Constructor * @param $fileStage integer One of the SUBMISSION_FILE_* constants. * @param $viewableOnly boolean True iff only viewable files should be included. */ function SubmissionFilesGridDataProvider($fileStage, $viewableOnly = false) { assert(is_numeric($fileStage) && $fileStage > 0); $this->_fileStage = (int) $fileStage; parent::FilesGridDataProvider(); $this->setViewableOnly($viewableOnly); }
/** * Constructor * @param $fileStage integer One of the SUBMISSION_FILE_* constants. * @param $viewableOnly boolean True iff only viewable files should be included. */ function __construct($fileStage, $viewableOnly = false) { assert(is_numeric($fileStage) && $fileStage > 0); $this->_fileStage = (int) $fileStage; parent::__construct(); $this->setViewableOnly($viewableOnly); }
/** * Constructor * @param $stageId integer One of the WORKFLOW_STAGE_ID_* constants. * @param $fileStage integer One of the MONOGRAPH_FILE_* constants. */ function SubmissionFilesGridDataProvider($stageId, $fileStage) { assert(is_numeric($stageId) && $stageId > 0); $this->_stageId = (int) $stageId; assert(is_numeric($fileStage) && $fileStage > 0); $this->_fileStage = (int) $fileStage; parent::FilesGridDataProvider(); }
/** * Constructor */ function ReviewGridDataProvider() { parent::FilesGridDataProvider(); }