public function PHPExcel_Worksheet_CellIterator::setIterateOnlyExistingCells in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/CellIterator.php \PHPExcel_Worksheet_CellIterator::setIterateOnlyExistingCells()
* Set the iterator to loop only existing cells * *
Parameters
boolean $value:
Throws
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ CellIterator.php, line 90
Class
- PHPExcel_Worksheet_CellIterator
- PHPExcel_Worksheet_CellIterator
Code
public function setIterateOnlyExistingCells($value = true) {
$this->_onlyExistingCells = (bool) $value;
$this
->adjustForExistingOnlyRange();
}