00001 <?php 00002 00015 import('controllers.grid.files.fileList.SelectableFileListGridHandler'); 00016 00017 class SelectableFairCopyFilesGridHandler extends SelectableFileListGridHandler { 00021 function SelectableFairCopyFilesGridHandler() { 00022 import('controllers.grid.files.SubmissionFilesGridDataProvider'); 00023 // Pass in null stageId to be set in initialize from request var. 00024 parent::SelectableFileListGridHandler( 00025 new SubmissionFilesGridDataProvider(MONOGRAPH_FILE_FAIR_COPY), 00026 null, 00027 FILE_GRID_ADD|FILE_GRID_VIEW_NOTES 00028 ); 00029 00030 $this->addRoleAssignment( 00031 array(ROLE_ID_PRESS_MANAGER, ROLE_ID_SERIES_EDITOR, ROLE_ID_PRESS_ASSISTANT), 00032 array('fetchGrid', 'fetchRow') 00033 ); 00034 00035 // Set the grid title. 00036 $this->setTitle('submission.fairCopy'); 00037 00038 $this->setInstructions('editor.monograph.selectFairCopy'); 00039 } 00040 } 00041 00042 ?>
1.7.1