$worksheet
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Worksheet to iterate.
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Worksheet to iterate.
__construct(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet = null, integer $rowIndex = 1, string $startColumn = 'A', string $endColumn = null)
Create a new column iterator.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $worksheet | The worksheet to iterate over |
integer | $rowIndex | The row that we want to iterate |
string | $startColumn | The column address at which to start iterating |
string | $endColumn | Optionally, the column address at which to stop iterating |
resetStart(string $startColumn = 'A') : \PhpOffice\PhpSpreadsheet\Worksheet\RowCellIterator
(Re)Set the start column and the current column pointer.
string | $startColumn | The column address at which to start iterating |
resetEnd(string $endColumn = null) : \PhpOffice\PhpSpreadsheet\Worksheet\RowCellIterator
(Re)Set the end column.
string | $endColumn | The column address at which to stop iterating |
seek(string $column = 'A') : \PhpOffice\PhpSpreadsheet\Worksheet\RowCellIterator
Set the column pointer to the selected column.
string | $column | The column address to set the current pointer at |
current() : \PhpOffice\PhpSpreadsheet\Cell\Cell
Return the current cell in this worksheet row.
Loading…