\PhpOffice\PhpSpreadsheet\WorksheetColumn

Summary

Methods
Properties
Constants
__construct()
__destruct()
getColumnIndex()
getCellIterator()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$parent
$columnIndex
N/A

Properties

$parent

$parent : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet.

Type

Worksheet

$columnIndex

$columnIndex : string

Column index.

Type

string

Methods

__construct()

__construct(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $parent = null, string  $columnIndex = 'A') : mixed

Create a new column.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $parent
string $columnIndex

Returns

mixed —

__destruct()

__destruct() : mixed

Destructor.

Returns

mixed —

getColumnIndex()

getColumnIndex() : string

Get column index as string eg: 'A'.

Returns

string —

getCellIterator()

getCellIterator(int  $startRow = 1, int  $endRow = null) : \PhpOffice\PhpSpreadsheet\Worksheet\ColumnCellIterator

Get cell iterator.

Parameters

int $startRow

The row number at which to start iterating

int $endRow

Optionally, the row number at which to stop iterating

Returns

\PhpOffice\PhpSpreadsheet\Worksheet\ColumnCellIterator —