PHP Class Box\Spout\Reader\ODS\Reader

Inheritance: extends Box\Spout\Reader\AbstractReader
Show file Open project: box/spout Class Usage Examples

Protected Properties

Property Type Description
$sheetIterator To iterator over the ODS sheets
$zip ZipArchive

Protected Methods

Method Description
closeReader ( ) : void Closes the reader. To be used after reading the file.
doesSupportStreamWrapper ( ) : boolean Returns whether stream wrappers are supported
getConcreteSheetIterator ( ) : SheetIterator Returns an iterator to iterate over sheets.
getOptions ( ) : ReaderOptions Returns the reader's current options
openReader ( string $filePath ) : void Opens the file at the given file path to make it ready to be read.

Method Details

closeReader() protected method

Closes the reader. To be used after reading the file.
protected closeReader ( ) : void
return void

doesSupportStreamWrapper() protected method

Returns whether stream wrappers are supported
protected doesSupportStreamWrapper ( ) : boolean
return boolean

getConcreteSheetIterator() protected method

Returns an iterator to iterate over sheets.
protected getConcreteSheetIterator ( ) : SheetIterator
return SheetIterator To iterate over sheets

getOptions() protected method

Returns the reader's current options
protected getOptions ( ) : ReaderOptions
return ReaderOptions

openReader() protected method

Opens the file at the given file path to make it ready to be read.
protected openReader ( string $filePath ) : void
$filePath string Path of the file to be read
return void

Property Details

$sheetIterator protected property

To iterator over the ODS sheets
protected $sheetIterator

$zip protected property

protected ZipArchive $zip
return ZipArchive