Open Journal Systems
3.3.0
|
Public Member Functions | |
getLocale () | |
getTemplateVarsFromRowColumn ($row, $column) | |
setLocale ($locale) | |
Public Member Functions inherited from GridCellProvider | |
__construct () | |
getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT) | |
render ($request, $row, $column) | |
Data Fields | |
$_locale = null | |
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 can retrieve labels for submission contributors.
Definition at line 22 of file DataObjectGridCellProvider.inc.php.
DataObjectGridCellProvider::getLocale | ( | ) |
Get the locale
Definition at line 45 of file DataObjectGridCellProvider.inc.php.
References $_locale, and AppLocale\getLocale().
DataObjectGridCellProvider::getTemplateVarsFromRowColumn | ( | $row, | |
$column | |||
) |
This implementation assumes an element that is a DataObject. It will retrieve an element in the configured locale.
$row | GridRow |
$column | GridColumn |
Reimplemented from GridCellProvider.
Reimplemented in PubIdExportRepresentationsListGridCellProvider, ExportPublishedSubmissionsListGridCellProvider, PubIdExportIssuesListGridCellProvider, ReviewerGridCellProvider, QueriesGridCellProvider, AuthorReviewerGridCellProvider, ArticleGalleyGridCellProvider, EventLogGridCellProvider, PKPAuthorGridCellProvider, QueryNotesGridCellProvider, UserSelectGridCellProvider, PubIdExportSubmissionsListGridCellProvider, and StageParticipantGridCellProvider.
Definition at line 63 of file DataObjectGridCellProvider.inc.php.
DataObjectGridCellProvider::setLocale | ( | $locale | ) |
Set the locale
$locale | string |
Definition at line 37 of file DataObjectGridCellProvider.inc.php.
string DataObjectGridCellProvider::$_locale = null |
the locale to be retrieved.
Definition at line 27 of file DataObjectGridCellProvider.inc.php.
Referenced by getLocale().