. */ /** * Simple date column */ require_once(FILESYSTEMROOTPATH."include/list/TextColumn.php"); class DateColumn extends TextColumn { /** * Constructor * * @param string name of the column (as provided in the parameter of getCellValue()) * @param string header value */ public function __construct($name, $header) { parent::__construct($name, $header); } public function getCellValue($rowNum, $row) { return getDisplayDate($row[$this->name]); } }