\PhpOffice\PhpSpreadsheet\WorksheetCellIterator

Summary

Methods
Properties
Constants
__destruct()
getIterateOnlyExistingCells()
setIterateOnlyExistingCells()
No public properties found
No constants found
adjustForExistingOnlyRange()
$worksheet
$onlyExistingCells
N/A
No private methods found
No private properties found
N/A

Properties

$worksheet

$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet

Worksheet to iterate.

Type

Worksheet

$onlyExistingCells

$onlyExistingCells : bool

Iterate only existing cells.

Type

bool

Methods

__destruct()

__destruct() : mixed

Destructor.

Returns

mixed —

getIterateOnlyExistingCells()

getIterateOnlyExistingCells() : bool

Get loop only existing cells.

Returns

bool —

setIterateOnlyExistingCells()

setIterateOnlyExistingCells(bool  $value) : void

Set the iterator to loop only existing cells.

Parameters

bool $value

adjustForExistingOnlyRange()

adjustForExistingOnlyRange() : mixed

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

Returns

mixed —