Documentation

Iterator
in package
implements Iterator

Tags
implements

\Iterator<int, Worksheet>

Table of Contents

Interfaces

Iterator

Properties

$position  : int
Current iterator position.
$subject  : Spreadsheet
Spreadsheet to iterate.

Methods

__construct()  : mixed
Create a new worksheet iterator.
current()  : Worksheet
Current Worksheet.
key()  : int
Current key.
next()  : void
Next value.
rewind()  : void
Rewind iterator.
valid()  : bool
Are there more Worksheet instances available?

Properties

$position

Current iterator position.

private int $position = 0

Methods

key()

Current key.

public key() : int
Return values
int

rewind()

Rewind iterator.

public rewind() : void

valid()

Are there more Worksheet instances available?

public valid() : bool
Return values
bool

        
On this page

Search results