\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

Worksheet

$rowIndex

$rowIndex : int

Row index.

Type

int

Methods

__construct()

__construct(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $worksheet = null, int  $rowIndex = 1) : mixed

Create a new row.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet
int $rowIndex

Returns

mixed —

__destruct()

__destruct() : mixed

Destructor.

Returns

mixed —

getRowIndex()

getRowIndex() : int

Get row index.

Returns

int —

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 —