You are here

public function ValuesOnlyExporter::__construct in Loft Data Grids 6.2

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

Constructor

Parameters

ExportDataInterface $data:

string $filename: (Optional) Defaults to ''.

Overrides Exporter::__construct

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ValuesOnlyExporter.php, line 12

Class

ValuesOnlyExporter
Represents a values only exporter with no record dividers.

Namespace

AKlump\LoftDataGrids

Code

public function __construct(ExportDataInterface $data = NULL, $filename = '') {
  parent::__construct($data, $filename);
  $this->format = new \stdClass();
  $this->format->eol = "\r\n";
  $this->format->sep = "\\";
}