Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
DataObjectGridCellProvider Class Reference
Inheritance diagram for DataObjectGridCellProvider:
GridCellProvider PKPCitationGridCellProvider

Public Member Functions

 DataObjectGridCellProvider ()
 
 getLocale ()
 
 getTemplateVarsFromRowColumn (&$row, $column)
 
 setLocale ($locale)
 
- 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

Base class for a cell provider that can retrieve simple labels from DataObjects. If you need more complex cell content then you may be better off using a ColumnBasedGridCellProvider.

See Also
ColumnBasedGridCellProvider

Definition at line 22 of file DataObjectGridCellProvider.inc.php.

Member Function Documentation

DataObjectGridCellProvider::DataObjectGridCellProvider ( )

Constructor

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

DataObjectGridCellProvider::getLocale ( )

Get the locale

Returns
string

Definition at line 48 of file DataObjectGridCellProvider.inc.php.

DataObjectGridCellProvider::getTemplateVarsFromRowColumn ( $row,
  $column 
)

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

Definition at line 65 of file DataObjectGridCellProvider.inc.php.

DataObjectGridCellProvider::setLocale (   $locale)

Set the locale

Parameters
$localestring

Definition at line 40 of file DataObjectGridCellProvider.inc.php.


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