00001 <?php 00002 00015 import('controllers.grid.files.fileSignoff.FileSignoffGridHandler'); 00016 00017 class ReviewRevisionsGridHandler extends FileSignoffGridHandler { 00022 function ReviewRevisionsGridHandler($roleAssignments) { 00023 assert(is_array($roleAssignments)); 00024 00025 import('controllers.grid.files.review.ReviewRevisionsGridDataProvider'); 00026 // Pass in null stageId to be set in initialize from request var. 00027 parent::FileSignoffGridHandler( 00028 new ReviewRevisionsGridDataProvider(), 00029 null, 00030 'SIGNOFF_REVIEW_REVISION', 00031 FILE_GRID_ADD|FILE_GRID_DELETE|FILE_GRID_VIEW_NOTES 00032 ); 00033 00034 list($roles, $operations) = $roleAssignments; 00035 $this->addRoleAssignment($roles, $operations); 00036 } 00037 } 00038 00039 ?>
1.7.1