You are here

public function PHPExcel_Worksheet_RowIterator::__construct 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::__construct()

* Create a new row iterator * *

Parameters

PHPExcel_Worksheet $subject The worksheet to iterate over: * @param integer $startRow The row number at which to start iterating * @param integer $endRow Optionally, the row number at which to stop iterating

File

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

Class

PHPExcel_Worksheet_RowIterator
PHPExcel_Worksheet_RowIterator

Code

public function __construct(PHPExcel_Worksheet $subject = null, $startRow = 1, $endRow = null) {

  // Set subject
  $this->_subject = $subject;
  $this
    ->resetEnd($endRow);
  $this
    ->resetStart($startRow);
}