public function PHPExcel_Worksheet_RowIterator::prev 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::prev()
* Set the iterator to its previous value
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ RowIterator.php, line 167
Class
- PHPExcel_Worksheet_RowIterator
- PHPExcel_Worksheet_RowIterator
Code
public function prev() {
if ($this->_position <= $this->_startRow) {
throw new PHPExcel_Exception("Row is already at the beginning of range ({$this->_startRow} - {$this->_endRow})");
}
--$this->_position;
}