You are here

public function PHPExcel_Worksheet_ColumnCellIterator::resetEnd 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::resetEnd()

* (Re)Set the end row * *

Parameters

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

Return value

PHPExcel_Worksheet_ColumnCellIterator

Throws

PHPExcel_Exception

1 call to PHPExcel_Worksheet_ColumnCellIterator::resetEnd()
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 106

Class

PHPExcel_Worksheet_ColumnCellIterator
PHPExcel_Worksheet_ColumnCellIterator

Code

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