abstract class CellIterator implements Iterator (View source)

Properties

protected Worksheet $worksheet Worksheet to iterate.
protected bool $onlyExistingCells Iterate only existing cells.

Methods

__destruct()

Destructor.

bool
getIterateOnlyExistingCells()

Get loop only existing cells.

adjustForExistingOnlyRange()

Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.

setIterateOnlyExistingCells(bool $value)

Set the iterator to loop only existing cells.

Details

__destruct()

Destructor.

bool getIterateOnlyExistingCells()

Get loop only existing cells.

Return Value

bool

abstract protected adjustForExistingOnlyRange()

Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.

Exceptions

Exception

setIterateOnlyExistingCells(bool $value)

Set the iterator to loop only existing cells.

Parameters

bool $value

Exceptions

Exception