ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Column.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
PhpOffice\PhpSpreadsheet\Worksheet
;
4
5
class
Column
6
{
12
private
$parent
;
13
19
private
$columnIndex
;
20
27
public
function
__construct
(?
Worksheet
$parent
= null,
$columnIndex
=
'A'
)
28
{
29
// Set parent and column index
30
$this->
parent
=
$parent
;
31
$this->columnIndex =
$columnIndex
;
32
}
33
37
public
function
__destruct
()
38
{
39
// @phpstan-ignore-next-line
40
$this->
parent
= null;
41
}
42
46
public
function
getColumnIndex
(): string
47
{
48
return
$this->columnIndex
;
49
}
50
59
public
function
getCellIterator
($startRow = 1, $endRow = null)
60
{
61
return
new
ColumnCellIterator
($this->
parent
, $this->columnIndex, $startRow, $endRow);
62
}
63
}
PhpOffice\PhpSpreadsheet\Worksheet\Column\getCellIterator
getCellIterator($startRow=1, $endRow=null)
Get cell iterator.
Definition:
Column.php:59
PhpOffice\PhpSpreadsheet\Worksheet
PhpOffice\PhpSpreadsheet\Worksheet\Column\getColumnIndex
getColumnIndex()
Get column index as string eg: 'A'.
Definition:
Column.php:46
PhpOffice\PhpSpreadsheet\Worksheet\Column\$parent
$parent
Definition:
Column.php:12
parent
PhpOffice\PhpSpreadsheet\Worksheet\Column
Definition:
Column.php:5
PhpOffice\PhpSpreadsheet\Worksheet\Column\__construct
__construct(?Worksheet $parent=null, $columnIndex='A')
Create a new column.
Definition:
Column.php:27
PhpOffice\PhpSpreadsheet\Worksheet\Column\$columnIndex
$columnIndex
Definition:
Column.php:19
PhpOffice\PhpSpreadsheet\Worksheet\Column\__destruct
__destruct()
Destructor.
Definition:
Column.php:37
PhpOffice\PhpSpreadsheet\Worksheet\ColumnCellIterator
Definition:
ColumnCellIterator.php:9
php
PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Definition:
Worksheet.php:28
libs
composer
vendor
phpoffice
phpspreadsheet
src
PhpSpreadsheet
Worksheet
Column.php
Generated on Thu Jan 16 2025 19:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)