You are here

public function PHPExcel_CachedObjectStorage_SQLite3::__destruct in Loft Data Grids 7.2

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

* Destroy this cell collection

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

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/SQLite3.php, line 322

Class

PHPExcel_CachedObjectStorage_SQLite3
PHPExcel_CachedObjectStorage_SQLite3

Code

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