Open Journal Systems  3.3.0
AnnouncementTypeGridCellProvider Class Reference
Inheritance diagram for AnnouncementTypeGridCellProvider:
GridCellProvider

Public Member Functions

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

Detailed Description

Cell provider for title column of an announcement type grid.

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

Member Function Documentation

◆ getCellActions()

AnnouncementTypeGridCellProvider::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 23 of file AnnouncementTypeGridCellProvider.inc.php.

◆ getTemplateVarsFromRowColumn()

AnnouncementTypeGridCellProvider::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 GridCellProvider.

Definition at line 51 of file AnnouncementTypeGridCellProvider.inc.php.


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