/** * Retrieves data from an object and returns that data as an array of values. The individual values are already wrapped in * double quotes, with the contents having all quotes escaped. * * @param tx_seminars_seminar $event object that will deliver the data * * @return string[] the data for the keys provided in $keys (may be empty) */ protected function createCsvColumnsForEvent(tx_seminars_seminar $event) { $csvLines = array(); foreach ($this->getFieldKeys() as $key) { $csvLines[] = $this->escapeFieldForCsv($event->getEventData($key)); } return $csvLines; }