You are here

public function BootstrapHTMLExporter::__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/BootstrapHTMLExporter.php \AKlump\LoftDataGrids\BootstrapHTMLExporter::__construct()

Constructor

Overrides HTMLExporter::__construct

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/BootstrapHTMLExporter.php, line 25

Class

BootstrapHTMLExporter
Class HTMLExporter

Namespace

AKlump\LoftDataGrids

Code

public function __construct(ExportData $data, $filename = '') {
  parent::__construct($data, $filename);
  $this->format->bol = "<tr>";
  $this->format->eol = "</tr>" . $this->format->cr;
  $this->format->html = '<!DOCTYPE html>

  <html>
  <head>
      <title></title>
      <style type="text/css"></style>
  </head>

  <body></body>
  </html>';
  $this->format->css = NULL;
}