Open Journal Systems  3.3.0
QueryNotesGridCellProvider Class Reference
Inheritance diagram for QueryNotesGridCellProvider:
DataObjectGridCellProvider GridCellProvider

Public Member Functions

 __construct ($submission)
 
 getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getTemplateVarsFromRowColumn ($row, $column)
 
- Public Member Functions inherited from DataObjectGridCellProvider
 getLocale ()
 
 setLocale ($locale)
 
- Public Member Functions inherited from GridCellProvider
 __construct ()
 
 render ($request, $row, $column)
 

Data Fields

 $_submission
 
- Data Fields inherited from DataObjectGridCellProvider
 $_locale = null
 

Detailed Description

Base class for a cell provider that can retrieve query note info.

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

Constructor & Destructor Documentation

◆ __construct()

QueryNotesGridCellProvider::__construct (   $submission)

Constructor

Parameters
$submissionSubmission

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

Member Function Documentation

◆ getCellActions()

QueryNotesGridCellProvider::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

Reimplemented from GridCellProvider.

Definition at line 62 of file QueryNotesGridCellProvider.inc.php.

References DAORegistry\getDAO().

◆ getTemplateVarsFromRowColumn()

QueryNotesGridCellProvider::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

Reimplemented from DataObjectGridCellProvider.

Definition at line 44 of file QueryNotesGridCellProvider.inc.php.

References PKPApplication\get().

Field Documentation

◆ $_submission

Submission QueryNotesGridCellProvider::$_submission

Definition at line 23 of file QueryNotesGridCellProvider.inc.php.


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