00001 <?php 00002 00015 import('lib.pkp.classes.controllers.grid.GridCellProvider'); 00016 00017 class BlockPluginsListbuilderGridCellProvider extends GridCellProvider { 00021 function BlockPluginsListbuilderGridCellProvider() { 00022 parent::GridCellProvider(); 00023 } 00024 00025 // 00026 // Template methods from GridCellProvider 00027 // 00036 function getTemplateVarsFromRowColumn(&$row, $column) { 00037 $plugin =& $row->getData(); 00038 $columnId = $column->getId(); 00039 assert((is_a($plugin, 'Plugin')) && !empty($columnId)); 00040 00041 return array('label' => $plugin->getDisplayName()); 00042 } 00043 } 00044 00045 ?>
1.7.1