public function ValuesOnlyExporter::__construct in Loft Data Grids 6.2
Same name and namespace in other branches
- 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\LoftDataGridsCode
public function __construct(ExportDataInterface $data = NULL, $filename = '') {
parent::__construct($data, $filename);
$this->format = new \stdClass();
$this->format->eol = "\r\n";
$this->format->sep = "\\";
}