|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($dataProvider, $format) | |
| getTemplateVarsFromRowColumn ($row, $column) | |
Public Member Functions inherited from GridCellProvider | |
| __construct () | |
| getCellActions ($request, $row, $column, $position=GRID_ACTION_POSITION_DEFAULT) | |
| render ($request, $row, $column) | |
Data Fields | |
| $_dataProvider | |
| $_format | |
Wraps date formatting support around a provided DataProvider.
Definition at line 18 of file DateGridCellProvider.inc.php.
| DateGridCellProvider::__construct | ( | $dataProvider, | |
| $format | |||
| ) |
Constructor
| $dataProvider | DataProvider The object to wrap |
| $format | string See strftime |
Definition at line 36 of file DateGridCellProvider.inc.php.
| DateGridCellProvider::getTemplateVarsFromRowColumn | ( | $row, | |
| $column | |||
| ) |
Fetch a value from the provided DataProvider (in constructor) and format it as a date.
| $row | GridRow |
| $column | GridColumn |
Reimplemented from GridCellProvider.
Definition at line 52 of file DateGridCellProvider.inc.php.
| The DateGridCellProvider::$_dataProvider |
actual data provider to wrap
Definition at line 23 of file DateGridCellProvider.inc.php.
| The DateGridCellProvider::$_format |
format to use; see strftime
Definition at line 29 of file DateGridCellProvider.inc.php.