|
Lines 435-441
class GridHandler extends PKPHandler {
|
Link Here
|
|---|
|
| 435 |
// Give a chance to grid add features before calling hooks. |
435 |
// Give a chance to grid add features before calling hooks. |
| 436 |
// Because we must control when features are added to a grid, |
436 |
// Because we must control when features are added to a grid, |
| 437 |
// this is the only place that should use the _addFeature() method. |
437 |
// this is the only place that should use the _addFeature() method. |
| 438 |
$this->_addFeatures($this->initFeatures(&$request, $args)); |
438 |
$this->_addFeatures($this->initFeatures($request, $args)); |
| 439 |
$this->callFeaturesHook('gridInitialize', array('grid' => &$this)); |
439 |
$this->callFeaturesHook('gridInitialize', array('grid' => &$this)); |
| 440 |
} |
440 |
} |
| 441 |
|
441 |
|
|
Lines 841-847
class GridHandler extends PKPHandler {
|
Link Here
|
|---|
|
| 841 |
|
841 |
|
| 842 |
// Pass control to the view to render the row |
842 |
// Pass control to the view to render the row |
| 843 |
$templateMgr =& TemplateManager::getManager(); |
843 |
$templateMgr =& TemplateManager::getManager(); |
| 844 |
$templateMgr->assign_by_ref('grid', &$this); |
844 |
$templateMgr->assign_by_ref('grid', $this); |
| 845 |
$templateMgr->assign_by_ref('columns', $columns); |
845 |
$templateMgr->assign_by_ref('columns', $columns); |
| 846 |
$templateMgr->assign_by_ref('cells', $renderedCells); |
846 |
$templateMgr->assign_by_ref('cells', $renderedCells); |
| 847 |
$templateMgr->assign_by_ref('row', $row); |
847 |
$templateMgr->assign_by_ref('row', $row); |