You are here

public function PHPExcel_CachedObjectStorage_CacheBase::deleteCacheData in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/CacheBase.php \PHPExcel_CachedObjectStorage_CacheBase::deleteCacheData()

Delete a cell in cache identified by coordinate address

Parameters

string $pCoord Coordinate address of the cell to delete:

Throws

PHPExcel_Exception

14 calls to PHPExcel_CachedObjectStorage_CacheBase::deleteCacheData()
PHPExcel_CachedObjectStorage_APC::copyCellCollection in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Clone the cell collection
PHPExcel_CachedObjectStorage_APC::deleteCacheData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Delete a cell in cache identified by coordinate address
PHPExcel_CachedObjectStorage_APC::getCacheData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Get cell at a specific coordinate
PHPExcel_CachedObjectStorage_APC::isDataSet in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?
PHPExcel_CachedObjectStorage_CacheBase::removeColumn in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/CacheBase.php
Remove a column, deleting all cells in that column

... See full list

5 methods override PHPExcel_CachedObjectStorage_CacheBase::deleteCacheData()
PHPExcel_CachedObjectStorage_APC::deleteCacheData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Delete a cell in cache identified by coordinate address
PHPExcel_CachedObjectStorage_Memcache::deleteCacheData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Memcache.php
Delete a cell in cache identified by coordinate address
PHPExcel_CachedObjectStorage_SQLite3::deleteCacheData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/SQLite3.php
Delete a cell in cache identified by coordinate address
PHPExcel_CachedObjectStorage_SQLite::deleteCacheData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/SQLite.php
Delete a cell in cache identified by coordinate address
PHPExcel_CachedObjectStorage_Wincache::deleteCacheData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Wincache.php
* Delete a cell in cache identified by coordinate address * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/CacheBase.php, line 153

Class

PHPExcel_CachedObjectStorage_CacheBase
PHPExcel_CachedObjectStorage_CacheBase

Code

public function deleteCacheData($pCoord) {
  if ($pCoord === $this->_currentObjectID && !is_null($this->_currentObject)) {
    $this->_currentObject
      ->detach();
    $this->_currentObjectID = $this->_currentObject = null;
  }
  if (is_object($this->_cellCache[$pCoord])) {
    $this->_cellCache[$pCoord]
      ->detach();
    unset($this->_cellCache[$pCoord]);
  }
  $this->_currentCellIsDirty = false;
}