Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Public Member Functions | |
close () | |
Closes the reader, preventing any additional reading. | |
getSheetIterator () | |
Returns an iterator to iterate over sheets. | |
open (string $filePath) | |
Prepares the reader to read the given file. | |
OpenSpout\Reader\ReaderInterface::close | ( | ) |
Closes the reader, preventing any additional reading.
Implemented in OpenSpout\Reader\AbstractReader.
OpenSpout\Reader\ReaderInterface::getSheetIterator | ( | ) |
Returns an iterator to iterate over sheets.
T |
OpenSpout\Reader\Exception\ReaderNotOpenedException | If called before opening the reader |
Implemented in OpenSpout\Reader\CSV\Reader, OpenSpout\Reader\ODS\Reader, and OpenSpout\Reader\XLSX\Reader.
OpenSpout\Reader\ReaderInterface::open | ( | string | $filePath | ) |
Prepares the reader to read the given file.
It also makes sure that the file exists and is readable.
string | $filePath | Path of the file to be read |
OpenSpout\Common\Exception\IOException |
Implemented in OpenSpout\Reader\AbstractReader.