ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
CellIterator.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
PhpOffice\PhpSpreadsheet\Worksheet
;
4
5
use
Iterator
;
6
7
abstract
class
CellIterator
implements
Iterator
8
{
14
protected
$worksheet
;
15
21
protected
$onlyExistingCells
=
false
;
22
26
public
function
__destruct
()
27
{
28
// @phpstan-ignore-next-line
29
$this->worksheet = null;
30
}
31
35
public
function
getIterateOnlyExistingCells
(): bool
36
{
37
return
$this->onlyExistingCells
;
38
}
39
43
abstract
protected
function
adjustForExistingOnlyRange
();
44
48
public
function
setIterateOnlyExistingCells
(
bool
$value): void
49
{
50
$this->onlyExistingCells = (bool) $value;
51
52
$this->
adjustForExistingOnlyRange
();
53
}
54
}
PhpOffice\PhpSpreadsheet\Worksheet\CellIterator
Definition:
CellIterator.php:7
PhpOffice\PhpSpreadsheet\Worksheet
PhpOffice\PhpSpreadsheet\Worksheet\CellIterator\$onlyExistingCells
$onlyExistingCells
Definition:
CellIterator.php:21
PhpOffice\PhpSpreadsheet\Worksheet\CellIterator\setIterateOnlyExistingCells
setIterateOnlyExistingCells(bool $value)
Set the iterator to loop only existing cells.
Definition:
CellIterator.php:48
PhpOffice\PhpSpreadsheet\Worksheet\CellIterator\adjustForExistingOnlyRange
adjustForExistingOnlyRange()
Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.
PhpOffice\PhpSpreadsheet\Worksheet\CellIterator\getIterateOnlyExistingCells
getIterateOnlyExistingCells()
Get loop only existing cells.
Definition:
CellIterator.php:35
PhpOffice\PhpSpreadsheet\Worksheet\CellIterator\$worksheet
$worksheet
Definition:
CellIterator.php:14
PhpOffice\PhpSpreadsheet\Worksheet\CellIterator\__destruct
__destruct()
Destructor.
Definition:
CellIterator.php:26
php
Iterator
libs
composer
vendor
phpoffice
phpspreadsheet
src
PhpSpreadsheet
Worksheet
CellIterator.php
Generated on Thu Jan 16 2025 19:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)