|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($submission, $publication, $isEditable) | |
| getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT) | |
| getRequestArgs ($row) | |
| getTemplateVarsFromRowColumn ($row, $column) | |
Public Member Functions inherited from DataObjectGridCellProvider | |
| getLocale () | |
| setLocale ($locale) | |
Public Member Functions inherited from GridCellProvider | |
| __construct () | |
| render ($request, $row, $column) | |
Data Fields | |
| $_isEditable | |
| $_publication | |
| $_submission | |
Data Fields inherited from DataObjectGridCellProvider | |
| $_locale = null | |
Base class for a cell provider for article galleys.
Definition at line 18 of file ArticleGalleyGridCellProvider.inc.php.
| ArticleGalleyGridCellProvider::__construct | ( | $submission, | |
| $publication, | |||
| $isEditable | |||
| ) |
Constructor
| $submission | Submission |
Definition at line 38 of file ArticleGalleyGridCellProvider.inc.php.
| ArticleGalleyGridCellProvider::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 82 of file ArticleGalleyGridCellProvider.inc.php.
References DAORegistry\getDAO().
| ArticleGalleyGridCellProvider::getRequestArgs | ( | $row | ) |
Get request arguments.
| $row | GridRow |
Definition at line 72 of file ArticleGalleyGridCellProvider.inc.php.
| ArticleGalleyGridCellProvider::getTemplateVarsFromRowColumn | ( | $row, | |
| $column | |||
| ) |
Subclasses have to implement this method to extract 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 51 of file ArticleGalleyGridCellProvider.inc.php.
| ArticleGalleyGridCellProvider::$_isEditable |
Definition at line 32 of file ArticleGalleyGridCellProvider.inc.php.
| Publication ArticleGalleyGridCellProvider::$_publication |
Definition at line 30 of file ArticleGalleyGridCellProvider.inc.php.
| Submission ArticleGalleyGridCellProvider::$_submission |
Definition at line 24 of file ArticleGalleyGridCellProvider.inc.php.