You are here

public function Xlsx::__construct in Excel Serialization 8

Constructs an XLS encoder.

Parameters

string $xls_format: The XLS format to use.

Overrides Xls::__construct

File

src/Encoder/Xlsx.php, line 30

Class

Xlsx
Adds XLSX encoder support for the Serialization API.

Namespace

Drupal\xls_serialization\Encoder

Code

public function __construct($xls_format = 'Xlsx') {
  $this->xlsFormat = $xls_format;
}