\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

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet

$columnIndex

$columnIndex : string

Column index.

Type

string

Methods

__construct()

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

Create a new column.

Parameters

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

__destruct()

__destruct() 

Destructor.

getColumnIndex()

getColumnIndex() : string

Get column index as string eg: 'A'.

Returns

string

getCellIterator()

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

Get cell iterator.

Parameters

integer $startRow

The row number at which to start iterating

integer $endRow

Optionally, the row number at which to stop iterating

Returns

\PhpOffice\PhpSpreadsheet\Worksheet\ColumnCellIterator