|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
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 |
| 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 |
| IOException |
Implemented in OpenSpout\Reader\AbstractReader.