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

Public Member Functions

 _getHoverTitleText ($state)
 
 getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getCellState ($row, $column)
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 ReviewerGridCellProvider ()
 
- 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)
 

Additional Inherited Members

- Public Attributes inherited from DataObjectGridCellProvider
 $_locale = null
 

Detailed Description

Base class for a cell provider that can retrieve labels for reviewer grid rows.

Definition at line 21 of file ReviewerGridCellProvider.inc.php.

Member Function Documentation

ReviewerGridCellProvider::_getHoverTitleText (   $state)

Provide meaningful locale keys for the various grid status states.

Parameters
string$state
Returns
string

Definition at line 181 of file ReviewerGridCellProvider.inc.php.

ReviewerGridCellProvider::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 136 of file ReviewerGridCellProvider.inc.php.

References getCellState(), and Application\getSubmissionDAO().

ReviewerGridCellProvider::getCellState (   $row,
  $column 
)

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

Parameters
$rowGridRow
$columnGridColumn
Returns
string

Definition at line 39 of file ReviewerGridCellProvider.inc.php.

References Core\getCurrentDate(), DAORegistry\getDAO(), and Application\getSubmissionDAO().

Referenced by getCellActions(), and getTemplateVarsFromRowColumn().

ReviewerGridCellProvider::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 115 of file ReviewerGridCellProvider.inc.php.

References getCellState().

ReviewerGridCellProvider::ReviewerGridCellProvider ( )

Constructor

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


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