|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| _getTitle ($notification) | |
| getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT) | |
| getTemplateVarsFromRowColumn ($row, $column) | |
Public Member Functions inherited from GridCellProvider | |
| __construct () | |
| render ($request, $row, $column) | |
Class for a cell provider that can retrieve labels from notifications.
Definition at line 20 of file NotificationsGridCellProvider.inc.php.
| NotificationsGridCellProvider::_getTitle | ( | $notification | ) |
Get the title for a notification.
| $notification | Notification |
Definition at line 88 of file NotificationsGridCellProvider.inc.php.
References PKPServices\get(), Application\getContextDAO(), DAORegistry\getDAO(), Application\getPaymentManager(), and Application\getRepresentationDAO().
Referenced by getCellActions().
| NotificationsGridCellProvider::getCellActions | ( | $request, | |
| $row, | |||
| $column, | |||
$position = GRID_ACTION_POSITION_DEFAULT |
|||
| ) |
Get cell actions associated with this row/column combination
| $row | GridRow |
| $column | GridColumn |
Reimplemented from GridCellProvider.
Definition at line 28 of file NotificationsGridCellProvider.inc.php.
References _getTitle(), Application\getContextDAO(), PKPTemplateManager\getManager(), and PKPString\stripUnsafeHtml().
| NotificationsGridCellProvider::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 76 of file NotificationsGridCellProvider.inc.php.