You are here

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

* Create a new row iterator * *

Parameters

PHPExcel_Worksheet $subject The worksheet to iterate over:

string $columnIndex The column that we want to iterate: * @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/ColumnCellIterator.php, line 69

Class

PHPExcel_Worksheet_ColumnCellIterator
PHPExcel_Worksheet_ColumnCellIterator

Code

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

  // Set subject
  $this->_subject = $subject;
  $this->_columnIndex = PHPExcel_Cell::columnIndexFromString($columnIndex) - 1;
  $this
    ->resetEnd($endRow);
  $this
    ->resetStart($startRow);
}