public function webform_exporter_delimited::__construct in Webform 7.3
Same name and namespace in other branches
- 7.4 includes/exporters/webform_exporter_delimited.inc \webform_exporter_delimited::__construct()
Constructor.
Parameters
array $options: An associative array of options.
2 calls to webform_exporter_delimited::__construct()
- webform_exporter_delimited::webform_exporter_delimited in includes/
webform.export.inc - PHP 4 constructor compatibility shim.
- webform_exporter_excel::__construct in includes/
webform.export.inc - Constructor.
1 method overrides webform_exporter_delimited::__construct()
- webform_exporter_excel::__construct in includes/
webform.export.inc - Constructor.
File
- includes/
webform.export.inc, line 125 - Provides several different handlers for exporting webform results.
Class
Code
public function __construct($options) {
$this->delimiter = isset($options['delimiter']) ? $options['delimiter'] : ',';
// Convert tabs.
if ($this->delimiter == '\\t') {
$this->delimiter = "\t";
}
}