protected function TXTExportViewsDataExportExporterTests::getExporter in Views data export 7.4
3 calls to TXTExportViewsDataExportExporterTests::getExporter()
- TXTExportViewsDataExportExporterTests::testBodyWrite in tests/
exporter_tests/ txt.test - Test that content rows are written correctly.
- TXTExportViewsDataExportExporterTests::testBOF in tests/
exporter_tests/ txt.test - Test the header writing.
- TXTExportViewsDataExportExporterTests::testEOF in tests/
exporter_tests/ txt.test - Test End Of File.
File
- tests/
exporter_tests/ txt.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_txt.inc';
$classname = $this
->getExporterClassName();
return new $classname($options);
}