Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AuthorReviewAttachmentsGridHandler.inc.php
1 <?php
2 
16 import('lib.pkp.classes.controllers.grid.GridRow');
17 import('lib.pkp.controllers.grid.files.fileList.FileListGridHandler');
18 
24  import('lib.pkp.controllers.grid.files.review.ReviewGridDataProvider');
25  // Pass in null stageId to be set in initialize from request var.
26  parent::FileListGridHandler(
27  new ReviewGridDataProvider(SUBMISSION_FILE_REVIEW_ATTACHMENT, true),
28  null
29  );
30 
31  $this->addRoleAssignment(
32  array(ROLE_ID_MANAGER, ROLE_ID_SUB_EDITOR, ROLE_ID_ASSISTANT, ROLE_ID_AUTHOR),
33  array('fetchGrid', 'fetchRow')
34  );
35 
36  // Set the grid title.
37  $this->setTitle('grid.reviewAttachments.title');
38  }
39 }
40 
41 ?>
Base grid for simple file lists. This grid shows the file type in addition to the file name...
addRoleAssignment($roleIds, $operations)
Handle review attachment grid requests (author&#39;s perspective)
Provide access to review file data for grids.