public function PHPExcel_Worksheet_ColumnIterator::prev in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/ColumnIterator.php \PHPExcel_Worksheet_ColumnIterator::prev()
* Set the iterator to its previous value
Throws
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ ColumnIterator.php, line 172
Class
- PHPExcel_Worksheet_ColumnIterator
- PHPExcel_Worksheet_ColumnIterator
Code
public function prev() {
if ($this->_position <= $this->_startColumn) {
throw new PHPExcel_Exception("Column is already at the beginning of range (" . PHPExcel_Cell::stringFromColumnIndex($this->_endColumn) . " - " . PHPExcel_Cell::stringFromColumnIndex($this->_endColumn) . ")");
}
--$this->_position;
}