public function PHPExcel_Worksheet_RowIterator::seek in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowIterator.php \PHPExcel_Worksheet_RowIterator::seek()
* Set the row pointer to the selected row * *
Parameters
integer $row The row number to set the current pointer at:
Return value
PHPExcel_Worksheet_RowIterator
Throws
1 call to PHPExcel_Worksheet_RowIterator::seek()
- PHPExcel_Worksheet_RowIterator::resetStart in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ RowIterator.php - * (Re)Set the start row and the current row pointer * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ RowIterator.php, line 123
Class
- PHPExcel_Worksheet_RowIterator
- PHPExcel_Worksheet_RowIterator
Code
public function seek($row = 1) {
if ($row < $this->_startRow || $row > $this->_endRow) {
throw new PHPExcel_Exception("Row {$row} is out of range ({$this->_startRow} - {$this->_endRow})");
}
$this->_position = $row;
return $this;
}