Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
DataObjectGridCellProvider Class Reference
Inheritance diagram for DataObjectGridCellProvider:
GridCellProvider AddThisStatisticsGridCellProvider ApprovedProofFilesGridCellProvider EventLogGridCellProvider FooterGridCellProvider IdentificationCodeGridCellProvider MarketsGridCellProvider PKPCitationGridCellProvider PublicationDateGridCellProvider PublicationFormatGridCellProvider RepresentativesGridCellProvider ReviewerGridCellProvider SalesRightsGridCellProvider SocialMediaGridCellProvider SpotlightsGridCellProvider SubmissionsListGridCellProvider

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)
 

Public Attributes

 $_locale = null
 

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.

Cell provider to retrieve the user's name from the stage assignment.

Base class for a cell provider that retrieves statistics and other data for selectinga reviewer.

Base class for a cell provider that can retrieve labels for submission contributors.

See Also
ColumnBasedGridCellProvider

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

Member Function Documentation

DataObjectGridCellProvider::DataObjectGridCellProvider ( )

Constructor

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

DataObjectGridCellProvider::getLocale ( )

Get the locale

Returns
string

Definition at line 51 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 68 of file DataObjectGridCellProvider.inc.php.

DataObjectGridCellProvider::setLocale (   $locale)

Set the locale

Parameters
$localestring

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

References $_locale.

Member Data Documentation

string DataObjectGridCellProvider::$_locale = null

the locale to be retrieved.

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

Referenced by setLocale().


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