Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SubmissionsListGridCellProvider Class Reference
Inheritance diagram for SubmissionsListGridCellProvider:
DataObjectGridCellProvider GridCellProvider

Public Member Functions

 _getCellLinkAction ($request, $page, $operation, $submission)
 
 getAuthorizedRoles ()
 
 getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getCellState ($row, $column)
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 SubmissionsListGridCellProvider ($authorizedRoles=null)
 
- Public Member Functions inherited from DataObjectGridCellProvider
 DataObjectGridCellProvider ()
 
 getLocale ()
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 setLocale ($locale)
 
- Public Member Functions inherited from GridCellProvider
 getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 GridCellProvider ()
 
 render ($request, $row, $column)
 

Static Public Member Functions

static getPageAndOperationByUserRoles ($request, $submission, $userId=null)
 

Additional Inherited Members

- Public Attributes inherited from DataObjectGridCellProvider
 $_locale = null
 

Detailed Description

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

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

Member Function Documentation

SubmissionsListGridCellProvider::_getCellLinkAction (   $request,
  $page,
  $operation,
  $submission 
)

Get the cell link action.

Parameters
$requestRequest
$pagestring
$operationstring
$submissionSubmission
Returns
LinkAction

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

Referenced by getCellActions().

SubmissionsListGridCellProvider::getAuthorizedRoles ( )

Get the user authorized roles.

Returns
array

Definition at line 45 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
$rowGridRow
$columnGridColumn
Returns
array an array of LinkAction instances

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

References _getCellLinkAction().

SubmissionsListGridCellProvider::getCellState (   $row,
  $column 
)

Gathers the state of a given cell given a $row/$column combination

Parameters
$rowGridRow
$columnGridColumn

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

static SubmissionsListGridCellProvider::getPageAndOperationByUserRoles (   $request,
  $submission,
  $userId = null 
)
static

Static method that returns the correct page and operation between 'authordashboard' and 'workflow', based on users roles.

Parameters
$requestRequest
$submissionSubmission
$userIdan optional user id
Returns
array

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

Referenced by PendingRevisionsNotificationManager\getNotificationUrl(), EditorDecisionNotificationManager\getNotificationUrl(), PKPAuditorReminderForm\initData(), and PKPSubmissionHandler\step().

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
$rowGridRow
$columnGridColumn
Returns
array

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

SubmissionsListGridCellProvider::SubmissionsListGridCellProvider (   $authorizedRoles = null)

Constructor

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


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