Function CMS_Spreadsheet_Reader->__construct

Definitions

sources/files_spreadsheets_read.php

  • Constructor. Opens spreadsheet for reading.
  • 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 path
$filename string required parameter N/A N/A Filename
$algorithm integer 3 N/A N/A An ALGORITHM_* constant
$trim boolean True N/A N/A Whether to trim each cell
$default_charset ?string Blank (empty string) N/A N/A The default character set to assume if none is specified in the file (null: website character set) (blank: smart detection)