[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
Jurnal PSCP
/
lib
/
pkp
/
controllers
/
grid
/
files
/
review
/
[
Home
]
File: SelectableReviewRevisionsGridHandler.inc.php
<?php /** * @file controllers/grid/files/review/SelectableReviewRevisionsGridHandler.inc.php * * Copyright (c) 2014-2021 Simon Fraser University * Copyright (c) 2000-2021 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @class SelectableReviewRevisionsGridHandler * @ingroup controllers_grid_files_review * * @brief Display the file revisions authors have uploaded in a selectable grid. * Used for selecting files to send to external review or editorial stages. */ import('lib.pkp.controllers.grid.files.fileList.SelectableFileListGridHandler'); class SelectableReviewRevisionsGridHandler extends SelectableFileListGridHandler { /** * Constructor */ function __construct() { import('lib.pkp.controllers.grid.files.review.ReviewRevisionsGridDataProvider'); // Pass in null stageId to be set in initialize from request var. parent::__construct( new ReviewRevisionsGridDataProvider(), null, FILE_GRID_DELETE|FILE_GRID_VIEW_NOTES|FILE_GRID_EDIT ); $this->addRoleAssignment( array(ROLE_ID_MANAGER, ROLE_ID_SUB_EDITOR, ROLE_ID_ASSISTANT), array('fetchGrid', 'fetchRow') ); // Set the grid information. $this->setTitle('editor.submission.revisions'); } // // Implemented methods from GridHandler. // /** * @copydoc GridHandler::isDataElementSelected() */ function isDataElementSelected($gridDataElement) { return true; } }