Function __global->spreadsheet_open_read
Definitions
sources/files_spreadsheets_read.php
- Open spreadsheet for reading.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$path | PATH | required parameter | N/A | N/A | File path |
$filename | ?string | Null | N/A | N/A | Filename (null: derive from $path) |
$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) |
Return
- A subclass of CMS_Spreadsheet_Reader
- Type: object
- Set: N/A
- Range: N/A