You are here

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

* Set the iterator to its next value

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/ColumnCellIterator.php, line 159

Class

PHPExcel_Worksheet_ColumnCellIterator
PHPExcel_Worksheet_ColumnCellIterator

Code

public function next() {
  do {
    ++$this->_position;
  } while ($this->_onlyExistingCells && !$this->_subject
    ->cellExistsByColumnAndRow($this->_columnIndex, $this->_position) && $this->_position <= $this->_endRow);
}