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

controllers/grid/files/review/SelectableReviewRevisionsGridHandler.inc.php

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

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