Class for a cell provider that can retrieve labels from submissions. More...
Public Member Functions | |
| _getCellLinkAction ($request, $page, $operation, &$monograph) | |
| getAuthorizedRoles () | |
| getCellActions (&$request, &$row, &$column, $position=GRID_ACTION_POSITION_DEFAULT) | |
| getCellState (&$row, &$column) | |
| getPageAndOperationByUserRoles (&$request, &$monograph, $userId=null) | |
| getTemplateVarsFromRowColumn (&$row, $column) | |
| SubmissionsListGridCellProvider ($authorizedRoles=null) | |
Class for a cell provider that can retrieve labels from submissions.
Definition at line 17 of file SubmissionsListGridCellProvider.inc.php.
| SubmissionsListGridCellProvider._getCellLinkAction | ( | $ | request, | |
| $ | page, | |||
| $ | operation, | |||
| &$ | monograph | |||
| ) |
Get the cell link action.
Definition at line 234 of file SubmissionsListGridCellProvider.inc.php.
Referenced by getCellActions().
| SubmissionsListGridCellProvider.getAuthorizedRoles | ( | ) |
Get the user authorized roles.
Definition at line 41 of file SubmissionsListGridCellProvider.inc.php.
| SubmissionsListGridCellProvider.getCellActions | ( | &$ | request, | |
| &$ | row, | |||
| &$ | column, | |||
| $ | position = GRID_ACTION_POSITION_DEFAULT | |||
| ) |
Get cell actions associated with this row/column combination
| $row | GridRow | |
| $column | GridColumn |
Definition at line 65 of file SubmissionsListGridCellProvider.inc.php.
References _getCellLinkAction(), and getPageAndOperationByUserRoles().
| SubmissionsListGridCellProvider.getCellState | ( | &$ | row, | |
| &$ | column | |||
| ) |
Gathers the state of a given cell given a $row/$column combination
| $row | GridRow | |
| $column | GridColumn |
Definition at line 54 of file SubmissionsListGridCellProvider.inc.php.
| SubmissionsListGridCellProvider.getPageAndOperationByUserRoles | ( | &$ | request, | |
| &$ | monograph, | |||
| $ | userId = null | |||
| ) |
Static method that returns the correct page and operation between 'authordashboard' and 'workflow', based on users roles.
| $request | Request | |
| $monograph | Monographs | |
| $userId | an optional user id |
Definition at line 172 of file SubmissionsListGridCellProvider.inc.php.
Referenced by getCellActions(), AuditorReminderForm.initData(), InformationCenterNotifyForm.insertEntry(), and SubmissionHandler.wizard().
| SubmissionsListGridCellProvider.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 |
Definition at line 96 of file SubmissionsListGridCellProvider.inc.php.
| SubmissionsListGridCellProvider.SubmissionsListGridCellProvider | ( | $ | authorizedRoles = null |
) |
Constructor
Definition at line 25 of file SubmissionsListGridCellProvider.inc.php.
1.7.1