protected function CSVExportViewsDataExportExporterTests::getExporter in Views data export 7.4
8 calls to CSVExportViewsDataExportExporterTests::getExporter()
- CSVExportViewsDataExportExporterTests::testBOF in tests/
exporter_tests/ csv.test - Test the header writing.
- CSVExportViewsDataExportExporterTests::testEncodingOptions in tests/
exporter_tests/ csv.test - Test encoding options.
- CSVExportViewsDataExportExporterTests::testEOF in tests/
exporter_tests/ csv.test - CSVExportViewsDataExportExporterTests::testHTMLOptions in tests/
exporter_tests/ csv.test - Test the HTML escaping option.
- CSVExportViewsDataExportExporterTests::testNewLineOptions in tests/
exporter_tests/ csv.test - Test the newline replacement option.
File
- tests/
exporter_tests/ csv.test, line 15
Class
Code
protected function getExporter($options = array()) {
// todo Replace require_once with an autoloader.
require_once dirname(__FILE__) . '/../../exporters/views_data_export_exporter_delimited.inc';
$classname = $this
->getExporterClassName();
return new $classname($options);
}