Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($submission, $stageId, $queriesAccessHelper) | |
getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT) | |
getRequestArgs ($row) | |
getTemplateVarsFromRowColumn ($row, $column) | |
![]() | |
getLocale () | |
setLocale ($locale) | |
![]() | |
__construct () | |
render ($request, $row, $column) | |
Data Fields | |
$_queriesAccessHelper | |
$_stageId | |
$_submission | |
![]() | |
$_locale = null | |
Base class for a cell provider that can retrieve labels for queries.
Definition at line 18 of file QueriesGridCellProvider.inc.php.
QueriesGridCellProvider::__construct | ( | $submission, | |
$stageId, | |||
$queriesAccessHelper | |||
) |
Constructor
$submission | Submission |
$stageId | int |
$queriesAccessHelper | QueriesAccessHelper |
Definition at line 43 of file QueriesGridCellProvider.inc.php.
QueriesGridCellProvider::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 96 of file QueriesGridCellProvider.inc.php.
References getRequestArgs().
QueriesGridCellProvider::getRequestArgs | ( | $row | ) |
Get request arguments.
$row | GridRow |
Definition at line 131 of file QueriesGridCellProvider.inc.php.
Referenced by getCellActions().
QueriesGridCellProvider::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 DataObjectGridCellProvider.
Definition at line 60 of file QueriesGridCellProvider.inc.php.
References PKPApplication\get().
QueriesAccessHelper QueriesGridCellProvider::$_queriesAccessHelper |
Definition at line 35 of file QueriesGridCellProvider.inc.php.
int QueriesGridCellProvider::$_stageId |
Definition at line 29 of file QueriesGridCellProvider.inc.php.
Submission QueriesGridCellProvider::$_submission |
Definition at line 23 of file QueriesGridCellProvider.inc.php.