• Main Page
  • Modules
  • Classes
  • Files
  • File List

controllers/grid/files/attachment/AuthorReviewAttachmentsGridHandler.inc.php

00001 <?php
00002 
00015 import('lib.pkp.classes.controllers.grid.GridRow');
00016 import('controllers.grid.files.fileList.FileListGridHandler');
00017 
00018 class AuthorReviewAttachmentsGridHandler extends FileListGridHandler {
00022    function AuthorReviewAttachmentsGridHandler() {
00023       import('controllers.grid.files.review.ReviewGridDataProvider');
00024       // Pass in null stageId to be set in initialize from request var.
00025       parent::FileListGridHandler(
00026          new ReviewGridDataProvider(MONOGRAPH_FILE_REVIEW_ATTACHMENT, true),
00027          null
00028       );
00029 
00030       $this->addRoleAssignment(
00031          array(ROLE_ID_PRESS_MANAGER, ROLE_ID_SERIES_EDITOR, ROLE_ID_PRESS_ASSISTANT, ROLE_ID_AUTHOR),
00032          array('fetchGrid', 'fetchRow')
00033       );
00034 
00035       // Set the grid title.
00036       $this->setTitle('grid.reviewAttachments.title');
00037    }
00038 }
00039 
00040 ?>

Generated on Mon Sep 17 2012 13:58:55 for Open Monograph Press by  doxygen 1.7.1