Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AuthorSubmissionDetailsFilesGridHandler.inc.php
1 <?php
2 
16 // Import the grid layout.
17 import('lib.pkp.controllers.grid.files.fileList.FileListGridHandler');
18 
24  import('lib.pkp.controllers.grid.files.SubmissionFilesGridDataProvider');
25  $dataProvider = new SubmissionFilesGridDataProvider(SUBMISSION_FILE_SUBMISSION);
26  parent::FileListGridHandler($dataProvider, WORKFLOW_STAGE_ID_SUBMISSION, FILE_GRID_DOWNLOAD_ALL);
27 
28  $this->addRoleAssignment(
29  array(ROLE_ID_MANAGER, ROLE_ID_SUB_EDITOR, ROLE_ID_ASSISTANT, ROLE_ID_AUTHOR),
30  array('fetchGrid', 'fetchRow')
31  );
32  }
33 }
34 
35 ?>
Base grid for simple file lists. This grid shows the file type in addition to the file name...
addRoleAssignment($roleIds, $operations)
Handle submission file grid requests on the author&#39;s submission details pages.