Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($translate=false) | |
getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT) | |
getTemplateVarsFromRowColumn ($row, $column) | |
Public Member Functions inherited from GridCellProvider | |
__construct () | |
render ($request, $row, $column) | |
Grid cell provider for the TOC (Table of Contents) category grid.
Definition at line 18 of file TocGridCellProvider.inc.php.
TocGridCellProvider::__construct | ( | $translate = false | ) |
Constructor
Definition at line 22 of file TocGridCellProvider.inc.php.
TocGridCellProvider::getCellActions | ( | $request, | |
$row, | |||
$column, | |||
$position = GRID_ACTION_POSITION_DEFAULT |
|||
) |
Subclasses can override this template method to provide cell specific actions.
NB: The default implementation delegates to the grid column for cell-specific actions. Another thinkable implementation would be row-specific actions in which case action instantiation should be delegated to the row.
$request | Request |
$row | GridRow |
$column | GridColumn |
$position | int GRID_ACTION_POSITION_... |
Reimplemented from GridCellProvider.
Definition at line 49 of file TocGridCellProvider.inc.php.
TocGridCellProvider::getTemplateVarsFromRowColumn | ( | $row, | |
$column | |||
) |
Extracts variables for a given column from a data element so that they may be assigned to template before rendering.
$row | GridRow |
$column | GridColumn |
Reimplemented from GridCellProvider.
Definition at line 33 of file TocGridCellProvider.inc.php.