1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2024-12-20 13:40:55 +01:00
egroupware_official/calendar/inc/class.calendar_wizard_export_csv.inc.php
2011-04-06 23:27:22 +00:00

28 lines
680 B
PHP

<?php
/**
* eGroupWare - Wizard for Adressbook CSV export
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package calendar
* @link http://www.egroupware.org
* @author Nathan Gray
* @version $Id$
*/
class calendar_wizard_export_csv extends importexport_wizard_basic_export_csv
{
public function __construct() {
parent::__construct();
// Field mapping
$bo = new calendar_tracking();
$this->export_fields = array('id' => 'Calendar ID') + $bo->field2label;
$custom = config::get_customfields('calendar', true);
foreach($custom as $name => $data) {
$this->export_fields['#'.$name] = $data['label'];
}
}
}