Function CMS_CSV_Writer->__construct

Definitions

sources/files_spreadsheets_write.php

  • Open spreadsheet for writing.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$path ?PATH required parameter N/A N/A File to write into (null: create a temporary file and return by reference)
$filename string required parameter N/A N/A Filename
$algorithm integer 3 N/A N/A An ALGORITHM_* constant
$charset ?string Null N/A N/A The character set to write with (if supported) (null: website character set)
$format integer 1 N/A N/A A FORMAT_* constant
$write_bom boolean True N/A N/A Whether to write a byte-order-mark (BOM)