export_fields = array('info_id' => 'Infolog ID', 'pm_id' => 'Project ID') + $bo->field2label; // Custom fields unset($this->export_fields['custom']); // Heading, not a real field $custom = config::get_customfields('infolog', true); foreach($custom as $name => $data) { $this->export_fields['#'.$name] = $data['label']; } } }