You are here

public function TabTextExporter::__construct in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/TabTextExporter.php \AKlump\LoftDataGrids\TabTextExporter::__construct()

Constructor

Overrides CSVExporter::__construct

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/TabTextExporter.php, line 14

Class

TabTextExporter
Class TabTextExporter

Namespace

AKlump\LoftDataGrids

Code

public function __construct(ExportDataInterface $data = null, $filename = '') {
  parent::__construct($data, $filename);
  $this->format = new \stdClass();
  $this->format->bol = '';
  $this->format->eol = "\r\n";
  $this->format->left = '';
  $this->format->right = '';
  $this->format->sep = "\t";
  $this->format->escape = '\\';
  $this->format->html = false;
}