Public Member Functions

SubmissionsListGridCellProvider Class Reference

Class for a cell provider that can retrieve labels from submissions. More...

Inheritance diagram for SubmissionsListGridCellProvider:
DataObjectGridCellProvider

List of all members.

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)

Detailed Description

Class for a cell provider that can retrieve labels from submissions.

Definition at line 17 of file SubmissionsListGridCellProvider.inc.php.


Member Function Documentation

SubmissionsListGridCellProvider._getCellLinkAction ( request,
page,
operation,
&$  monograph 
)

Get the cell link action.

Parameters:
$request Request
$page string
$operation string
$monograph Monograph
Returns:
LinkAction

Definition at line 234 of file SubmissionsListGridCellProvider.inc.php.

Referenced by getCellActions().

SubmissionsListGridCellProvider.getAuthorizedRoles (  ) 

Get the user authorized roles.

Returns:
array

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

Parameters:
$row GridRow
$column GridColumn
Returns:
array an array of LinkAction instances

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

Parameters:
$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.

Parameters:
$request Request
$monograph Monographs
$userId an optional user id
Returns:
array

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.

Parameters:
$row GridRow
$column GridColumn
Returns:
array

Definition at line 96 of file SubmissionsListGridCellProvider.inc.php.

SubmissionsListGridCellProvider.SubmissionsListGridCellProvider ( authorizedRoles = null  ) 

Constructor

Definition at line 25 of file SubmissionsListGridCellProvider.inc.php.


The documentation for this class was generated from the following file: