\PhpOffice\PhpSpreadsheet\WorksheetRow

Summary

Methods
Properties
Constants
__construct()
__destruct()
getRowIndex()
getCellIterator()
getWorksheet()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$worksheet
$rowIndex
N/A

Properties

$worksheet

$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet.

Type

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet

$rowIndex

$rowIndex : integer

Row index.

Type

integer

Methods

__construct()

__construct(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $worksheet = null, integer  $rowIndex = 1) 

Create a new row.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet
integer $rowIndex

__destruct()

__destruct() 

Destructor.

getRowIndex()

getRowIndex() : integer

Get row index.

Returns

integer

getCellIterator()

getCellIterator(string  $startColumn = 'A', string  $endColumn = null) : \PhpOffice\PhpSpreadsheet\Worksheet\RowCellIterator

Get cell iterator.

Parameters

string $startColumn

The column address at which to start iterating

string $endColumn

Optionally, the column address at which to stop iterating

Returns

\PhpOffice\PhpSpreadsheet\Worksheet\RowCellIterator

getWorksheet()

getWorksheet() : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet

Returns bound worksheet.

Returns

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet