You are here

public function PHPExcel_CachedObjectStorage_SQLite::__destruct in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/SQLite.php \PHPExcel_CachedObjectStorage_SQLite::__destruct()

* Destroy this cell collection

1 call to PHPExcel_CachedObjectStorage_SQLite::__destruct()
PHPExcel_CachedObjectStorage_SQLite::unsetWorksheetCells in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/SQLite.php
* Clear the cell collection and disconnect from our parent * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/SQLite.php, line 284

Class

PHPExcel_CachedObjectStorage_SQLite
PHPExcel_CachedObjectStorage_SQLite

Code

public function __destruct() {
  if (!is_null($this->_DBHandle)) {
    $this->_DBHandle
      ->queryExec('DROP TABLE kvp_' . $this->_TableName);
  }
  $this->_DBHandle = null;
}