16 import(
'lib.pkp.classes.controllers.grid.GridColumn');
28 $this->_actionArgs = $actionArgs;
30 import(
'lib.pkp.classes.controllers.grid.ColumnBasedGridCellProvider');
33 parent::__construct(
'name',
'common.name',
null,
null, $cellProvider,
34 array(
'width' => 60,
'alignment' => COLUMN_ALIGNMENT_LEFT));
51 return array(
'label' =>
'');
61 function getCellActions($request, $row, $position = GRID_ACTION_POSITION_DEFAULT) {
63 $query = $row->getData();
64 $headNote = $query->getHeadNote();
67 import(
'lib.pkp.classes.linkAction.request.AjaxModal');
68 $router = $request->getRouter();
69 $actionArgs = array_merge(
71 array(
'queryId' => $query->getId())
75 parent::getCellActions($request, $row, $position),
80 $router->url($request,
null,
null,
'readQuery',
null, $actionArgs),
81 $headNote?$headNote->getTitle():
'—',
84 ($headNote && $headNote->getTitle()!=
'')?htmlspecialchars($headNote->getTitle()):
'—',