ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Row.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
PhpOffice\PhpSpreadsheet\Worksheet
;
4
5
class
Row
6
{
12
private
$worksheet
;
13
19
private
$rowIndex
= 0;
20
27
public
function
__construct
(?
Worksheet
$worksheet
= null,
$rowIndex
= 1)
28
{
29
// Set parent and row index
30
$this->worksheet =
$worksheet
;
31
$this->rowIndex =
$rowIndex
;
32
}
33
37
public
function
__destruct
()
38
{
39
// @phpstan-ignore-next-line
40
$this->worksheet = null;
41
}
42
46
public
function
getRowIndex
(): int
47
{
48
return
$this->rowIndex
;
49
}
50
59
public
function
getCellIterator
($startColumn =
'A'
, $endColumn = null)
60
{
61
return
new
RowCellIterator
($this->worksheet, $this->rowIndex, $startColumn, $endColumn);
62
}
63
67
public
function
getWorksheet
():
Worksheet
68
{
69
return
$this->worksheet
;
70
}
71
}
PhpOffice\PhpSpreadsheet\Worksheet\Row\getRowIndex
getRowIndex()
Get row index.
Definition:
Row.php:46
PhpOffice\PhpSpreadsheet\Worksheet\Row\getWorksheet
getWorksheet()
Returns bound worksheet.
Definition:
Row.php:67
PhpOffice\PhpSpreadsheet\Worksheet
PhpOffice\PhpSpreadsheet\Worksheet\Row\$worksheet
$worksheet
Definition:
Row.php:12
PhpOffice\PhpSpreadsheet\Worksheet\Row\__construct
__construct(?Worksheet $worksheet=null, $rowIndex=1)
Create a new row.
Definition:
Row.php:27
PhpOffice\PhpSpreadsheet\Worksheet\Row
Definition:
Row.php:5
PhpOffice\PhpSpreadsheet\Worksheet\Row\$rowIndex
$rowIndex
Definition:
Row.php:19
PhpOffice\PhpSpreadsheet\Worksheet\Row\__destruct
__destruct()
Destructor.
Definition:
Row.php:37
PhpOffice\PhpSpreadsheet\Worksheet\Row\getCellIterator
getCellIterator($startColumn='A', $endColumn=null)
Get cell iterator.
Definition:
Row.php:59
php
PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Definition:
Worksheet.php:28
PhpOffice\PhpSpreadsheet\Worksheet\RowCellIterator
Definition:
RowCellIterator.php:9
libs
composer
vendor
phpoffice
phpspreadsheet
src
PhpSpreadsheet
Worksheet
Row.php
Generated on Thu Jan 30 2025 19:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)