Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
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.