PHP Класс Box\Spout\Reader\ODS\SheetIterator

Наследование: implements Box\Spout\Reader\IteratorInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$currentSheetIndex The index of the sheet being read (zero-based)
$escaper Used to unescape XML data
$filePath string Path of the file to be read
$hasFoundSheet Whether there are still at least a sheet to be read
$options Reader's current options
$xmlReader The XMLReader object that will help read sheet's XML data

Открытые методы

Метод Описание
__construct ( string $filePath, Box\Spout\Reader\ODS\ReaderOptions $options )
current ( ) : Sheet Return the current element
end ( ) : void Cleans up what was created to iterate over the object.
key ( ) : integer Return the key of the current element
next ( ) : void Move forward to next element
rewind ( ) : void Rewind the Iterator to the first element
valid ( ) : boolean Checks if current position is valid

Описание методов

__construct() публичный Метод

public __construct ( string $filePath, Box\Spout\Reader\ODS\ReaderOptions $options )
$filePath string Path of the file to be read
$options Box\Spout\Reader\ODS\ReaderOptions Reader's current options

current() публичный Метод

Return the current element
public current ( ) : Sheet
Результат Sheet

end() публичный Метод

Cleans up what was created to iterate over the object.
public end ( ) : void
Результат void

key() публичный Метод

Return the key of the current element
public key ( ) : integer
Результат integer

next() публичный Метод

Move forward to next element
public next ( ) : void
Результат void

rewind() публичный Метод

Rewind the Iterator to the first element
public rewind ( ) : void
Результат void

valid() публичный Метод

Checks if current position is valid
public valid ( ) : boolean
Результат boolean

Описание свойств

$currentSheetIndex защищенное свойство

The index of the sheet being read (zero-based)
protected $currentSheetIndex

$escaper защищенное свойство

Used to unescape XML data
protected $escaper

$filePath защищенное свойство

Path of the file to be read
protected string $filePath
Результат string

$hasFoundSheet защищенное свойство

Whether there are still at least a sheet to be read
protected $hasFoundSheet

$options защищенное свойство

Reader's current options
protected $options

$xmlReader защищенное свойство

The XMLReader object that will help read sheet's XML data
protected $xmlReader