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

Public Member Functions

 _getApprovedCellAction ($request, $submissionFile, $cellState)
 
 getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 SignoffFilesGridCellProvider ($submissionId, $stageId)
 
- Public Member Functions inherited from GridCellProvider
 getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getTemplateVarsFromRowColumn ($row, $column)
 
 GridCellProvider ()
 
 render ($request, $row, $column)
 

Detailed Description

Cell provider for name column of a signoff (editor/auditor) grid (i.e. editorial/production).

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

Member Function Documentation

SignoffFilesGridCellProvider::_getApprovedCellAction (   $request,
  $submissionFile,
  $cellState 
)

Get the approved column cell action, based on stage id.

Parameters
$requestRequest
$submissionFileSubmissionFile

Definition at line 122 of file SignoffFilesGridCellProvider.inc.php.

SignoffFilesGridCellProvider::getCellActions (   $request,
  $row,
  $column,
  $position = GRID_ACTION_POSITION_DEFAULT 
)

Subclasses can override this template method to provide cell specific actions.

NB: The default implementation delegates to the grid column for cell-specific actions. Another thinkable implementation would be row-specific actions in which case action instantiation should be delegated to the row.

Parameters
$requestRequest
$rowGridRow
$columnGridColumn
$positionint GRID_ACTION_POSITION_...
Returns
array an array of LinkAction instances

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

SignoffFilesGridCellProvider::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 90 of file SignoffFilesGridCellProvider.inc.php.

SignoffFilesGridCellProvider::SignoffFilesGridCellProvider (   $submissionId,
  $stageId 
)

Constructor

Definition at line 34 of file SignoffFilesGridCellProvider.inc.php.


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