function ViewsDataExportExporterDelimited::__construct in Views data export 7.4
Constructor for views_data_export_exporter classes.
Parameters
$options: The array of export options as provided by the user-interface.
Overrides ViewsDataExportExporter::__construct
File
- exporters/
views_data_export_exporter_delimited.inc, line 12
Class
- ViewsDataExportExporterDelimited
- Webform exporter for creating CSV/TSV delimited files.
Code
function __construct($options) {
$this->options = $options;
$this->separator = isset($options['separator']) ? $options['separator'] : ',';
// Convert tabs.
if ($this->separator == '\\t') {
$this->separator = "\t";
}
$options['separator'] = $this->separator;
parent::__construct($options);
$stop = 'here';
}