public function PHPExcel_Worksheet::disconnectCells in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php \PHPExcel_Worksheet::disconnectCells()
Disconnect all cells from this PHPExcel_Worksheet object, typically so that the worksheet object can be unset
1 call to PHPExcel_Worksheet::disconnectCells()
- PHPExcel_Worksheet::__destruct in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet.php - Code to execute when this worksheet is unset()
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet.php, line 388
Class
- PHPExcel_Worksheet
- PHPExcel_Worksheet
Code
public function disconnectCells() {
if ($this->_cellCollection !== NULL) {
$this->_cellCollection
->unsetWorksheetCells();
$this->_cellCollection = NULL;
}
// detach ourself from the workbook, so that it can then delete this worksheet successfully
$this->_parent = null;
}