Public Member Functions

ReviewerGridCellProvider Class Reference

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

Inheritance diagram for ReviewerGridCellProvider:
DataObjectGridCellProvider

List of all members.

Public Member Functions

 _getHoverTitleText ($state)
 getCellActions (&$request, &$row, &$column, $position=GRID_ACTION_POSITION_DEFAULT)
 getCellState (&$row, &$column)
 getTemplateVarsFromRowColumn (&$row, $column)
 ReviewerGridCellProvider ()

Detailed Description

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

Definition at line 20 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 180 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:
$row GridRow
$column GridColumn
Returns:
array an array of LinkAction instances

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

References getCellState().

ReviewerGridCellProvider.getCellState ( &$  row,
&$  column 
)

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

Parameters:
$row GridRow
$column GridColumn
Returns:
string

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

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:
$row GridRow
$column GridColumn
Returns:
array

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

References getCellState().

ReviewerGridCellProvider.ReviewerGridCellProvider (  ) 

Constructor

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


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