From 94165c9a597436dd318628744958bffda698657c Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 4 Feb 2011 20:03:08 +0000 Subject: [PATCH] Define types for human friendly stuff --- timesheet/inc/class.timesheet_export_csv.inc.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/timesheet/inc/class.timesheet_export_csv.inc.php b/timesheet/inc/class.timesheet_export_csv.inc.php index 473a0ebb1f..da3c0ed82e 100644 --- a/timesheet/inc/class.timesheet_export_csv.inc.php +++ b/timesheet/inc/class.timesheet_export_csv.inc.php @@ -16,6 +16,14 @@ */ class timesheet_export_csv implements importexport_iface_export_plugin { + // Used in conversions + static $types = array( + 'select-account' => array('ts_owner','ts_modifier'), + 'date-time' => array('ts_start', 'ts_modified'), + 'select-cat' => array('cat_id'), + 'links' => array('pl_id'), + ); + /** * Exports records as defined in $_definition *