Public Member Functions | |
| AnewtGridCellRendererDate ($id, $format='%c') | |
| Construct new AnewtGridCellRendererDate instance. | |
| render_cell ($data) | |
| Render data as formatted date. | |
Private Attributes | |
| $_format = null | |
| Date formatting string. | |
This cell renderer renders AnewtDateTimeAtom instances into grid cells using the provided date formatting string.
Definition at line 219 of file cell.lib.php.
| AnewtGridCellRendererDate::AnewtGridCellRendererDate | ( | $ | id, | |
| $ | format = '%c' | |||
| ) |
Construct new AnewtGridCellRendererDate instance.
| $id | Cell renderer id | |
| $format | Date formatting string in strftime syntax |
Definition at line 232 of file cell.lib.php.
| AnewtGridCellRendererDate::render_cell | ( | $ | data | ) |
Render data as formatted date.
| $data | Data to pack into the cell |
Reimplemented from AnewtGridCellRenderer.
Definition at line 248 of file cell.lib.php.
1.5.9