You are here

public function PHPExcel_Worksheet_RowCellIterator::__construct in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowCellIterator.php \PHPExcel_Worksheet_RowCellIterator::__construct()

* Create a new column iterator * *

Parameters

PHPExcel_Worksheet $subject The worksheet to iterate over:

integer $rowIndex The row that we want to iterate: * @param string $startColumn The column address at which to start iterating * @param string $endColumn Optionally, the column address at which to stop iterating

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowCellIterator.php, line 69

Class

PHPExcel_Worksheet_RowCellIterator
PHPExcel_Worksheet_RowCellIterator

Code

public function __construct(PHPExcel_Worksheet $subject = null, $rowIndex = 1, $startColumn = 'A', $endColumn = null) {

  // Set subject and row index
  $this->_subject = $subject;
  $this->_rowIndex = $rowIndex;
  $this
    ->resetEnd($endColumn);
  $this
    ->resetStart($startColumn);
}