|
| | closeReader () |
| | Closes the reader.
|
| |
| | doesSupportStreamWrapper () |
| | Returns whether stream wrappers are supported.
|
| |
| | getConcreteSheetIterator () |
| | Returns an iterator to iterate over sheets.
|
| |
| | getFileRealPath ($filePath) |
| | Returns the real path of the given path.
|
| |
| | getStreamWrapperScheme ($filePath) |
| | Returns the scheme of the custom stream wrapper, if the path indicates a stream wrapper is used.
|
| |
| | isPhpStream ($filePath) |
| | Checks if a path is a PHP stream (like php://output, php://memory, ...)
|
| |
| | isStreamWrapper ($filePath) |
| | Checks if the given path is an unsupported stream wrapper (like local path, php://temp, mystream://foo/bar...).
|
| |
| | isSupportedStreamWrapper ($filePath) |
| | Checks if the given path is an supported stream wrapper (like php://temp, mystream://foo/bar...).
|
| |
| | openReader ($filePath) |
| | Opens the file at the given file path to make it ready to be read.
|
| |
◆ __construct()
- Parameters
-
| OptionsManagerInterface | $optionsManager | |
| GlobalFunctionsHelper | $globalFunctionsHelper | |
| InternalEntityFactoryInterface | $entityFactory | |
| ManagerFactory | $managerFactory | |
◆ close()
| Box\Spout\Reader\ReaderAbstract::close |
( |
| ) |
|
|
inherited |
◆ closeReader()
| Box\Spout\Reader\XLSX\Reader::closeReader |
( |
| ) |
|
|
protected |
◆ doesSupportStreamWrapper()
| Box\Spout\Reader\XLSX\Reader::doesSupportStreamWrapper |
( |
| ) |
|
|
protected |
◆ getConcreteSheetIterator()
| Box\Spout\Reader\XLSX\Reader::getConcreteSheetIterator |
( |
| ) |
|
|
protected |
◆ getFileRealPath()
| Box\Spout\Reader\ReaderAbstract::getFileRealPath |
( |
| $filePath | ) |
|
|
protectedinherited |
Returns the real path of the given path.
If the given path is a valid stream wrapper, returns the path unchanged.
- Parameters
-
- Return values
-
◆ getSheetIterator()
| Box\Spout\Reader\ReaderAbstract::getSheetIterator |
( |
| ) |
|
|
inherited |
◆ getStreamWrapperScheme()
| Box\Spout\Reader\ReaderAbstract::getStreamWrapperScheme |
( |
| $filePath | ) |
|
|
protectedinherited |
Returns the scheme of the custom stream wrapper, if the path indicates a stream wrapper is used.
For example, php://temp => php, s3://path/to/file => s3...
- Parameters
-
| string | $filePath | Path of the file to be read |
- Return values
-
| string|null | The stream wrapper scheme or NULL if not a stream wrapper |
◆ isPhpStream()
| Box\Spout\Reader\ReaderAbstract::isPhpStream |
( |
| $filePath | ) |
|
|
protectedinherited |
Checks if a path is a PHP stream (like php://output, php://memory, ...)
- Parameters
-
| string | $filePath | Path of the file to be read |
- Return values
-
| bool | Whether the given path maps to a PHP stream |
◆ isStreamWrapper()
| Box\Spout\Reader\ReaderAbstract::isStreamWrapper |
( |
| $filePath | ) |
|
|
protectedinherited |
Checks if the given path is an unsupported stream wrapper (like local path, php://temp, mystream://foo/bar...).
- Parameters
-
| string | $filePath | Path of the file to be read |
- Return values
-
| bool | Whether the given path is an unsupported stream wrapper |
◆ isSupportedStreamWrapper()
| Box\Spout\Reader\ReaderAbstract::isSupportedStreamWrapper |
( |
| $filePath | ) |
|
|
protectedinherited |
Checks if the given path is an supported stream wrapper (like php://temp, mystream://foo/bar...).
If the given path is a local path, returns true.
- Parameters
-
| string | $filePath | Path of the file to be read |
- Return values
-
| bool | Whether the given path is an supported stream wrapper |
◆ open()
| Box\Spout\Reader\ReaderAbstract::open |
( |
| $filePath | ) |
|
|
inherited |
Prepares the reader to read the given file.
It also makes sure that the file exists and is readable.
- Parameters
-
| string | $filePath | Path of the file to be read |
- Exceptions
-
- Return values
-
Implements Box\Spout\Reader\ReaderInterface.
◆ openReader()
| Box\Spout\Reader\XLSX\Reader::openReader |
( |
| $filePath | ) |
|
|
protected |
Opens the file at the given file path to make it ready to be read.
It also parses the sharedStrings.xml file to get all the shared strings available in memory and fetches all the available sheets.
- Parameters
-
| string | $filePath | Path of the file to be read |
- Exceptions
-
- Return values
-
Reimplemented from Box\Spout\Reader\ReaderAbstract.
◆ setShouldFormatDates()
| Box\Spout\Reader\ReaderAbstract::setShouldFormatDates |
( |
| $shouldFormatDates | ) |
|
|
inherited |
Sets whether date/time values should be returned as PHP objects or be formatted as strings.
- Parameters
-
- Return values
-
◆ setShouldPreserveEmptyRows()
| Box\Spout\Reader\ReaderAbstract::setShouldPreserveEmptyRows |
( |
| $shouldPreserveEmptyRows | ) |
|
|
inherited |
Sets whether empty rows should be returned or skipped.
- Parameters
-
| bool | $shouldPreserveEmptyRows | |
- Return values
-
◆ setTempFolder()
| Box\Spout\Reader\XLSX\Reader::setTempFolder |
( |
| $tempFolder | ) |
|
- Parameters
-
| string | $tempFolder | Temporary folder where the temporary files will be created |
- Return values
-
The documentation for this class was generated from the following file:
- lib/spout/src/Spout/Reader/XLSX/Reader.php