You are here

public function PHPExcel_Worksheet_RowIterator::resetEnd in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowIterator.php \PHPExcel_Worksheet_RowIterator::resetEnd()

* (Re)Set the end row * *

Parameters

integer $endRow The row number at which to stop iterating:

Return value

PHPExcel_Worksheet_RowIterator

1 call to PHPExcel_Worksheet_RowIterator::resetEnd()
PHPExcel_Worksheet_RowIterator::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowIterator.php
* Create a new row iterator * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowIterator.php, line 110

Class

PHPExcel_Worksheet_RowIterator
PHPExcel_Worksheet_RowIterator

Code

public function resetEnd($endRow = null) {
  $this->_endRow = $endRow ? $endRow : $this->_subject
    ->getHighestRow();
  return $this;
}