You are here

public function PHPExcel_Worksheet_ColumnCellIterator::resetStart in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/ColumnCellIterator.php \PHPExcel_Worksheet_ColumnCellIterator::resetStart()

* (Re)Set the start row and the current row pointer * *

Parameters

integer $startRow The row number at which to start iterating:

Return value

PHPExcel_Worksheet_ColumnCellIterator

Throws

PHPExcel_Exception

1 call to PHPExcel_Worksheet_ColumnCellIterator::resetStart()
PHPExcel_Worksheet_ColumnCellIterator::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/ColumnCellIterator.php
* Create a new row iterator * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/ColumnCellIterator.php, line 91

Class

PHPExcel_Worksheet_ColumnCellIterator
PHPExcel_Worksheet_ColumnCellIterator

Code

public function resetStart($startRow = 1) {
  $this->_startRow = $startRow;
  $this
    ->adjustForExistingOnlyRange();
  $this
    ->seek($startRow);
  return $this;
}