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

Public Member Functions

 __construct ($plugin, $authorizedRoles=null)
 
 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

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

Detailed Description

Class for a cell provider that can retrieve labels from issues with pub ids.

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

Constructor & Destructor Documentation

◆ __construct()

PubIdExportIssuesListGridCellProvider::__construct (   $plugin,
  $authorizedRoles = null 
)

Constructor

Definition at line 28 of file PubIdExportIssuesListGridCellProvider.inc.php.

Member Function Documentation

◆ getCellActions()

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

Get cell actions associated with this row/column combination

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 44 of file PubIdExportIssuesListGridCellProvider.inc.php.

References $application, and PKPApplication\get().

◆ getTemplateVarsFromRowColumn()

PubIdExportIssuesListGridCellProvider::getTemplateVarsFromRowColumn (   $row,
  $column 
)

Extracts variables for a given column from a data element so that they may be assigned to template before rendering.

This implementation assumes an element that is a DataObject. It will retrieve an element in the configured locale.

See also
GridCellProvider::getTemplateVarsFromRowColumn()
Parameters
$rowGridRow
$columnGridColumn
Returns
array

Reimplemented from DataObjectGridCellProvider.

Definition at line 94 of file PubIdExportIssuesListGridCellProvider.inc.php.

Field Documentation

◆ $_plugin

ImportExportPlugin PubIdExportIssuesListGridCellProvider::$_plugin

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