protected function PHPExcel_CachedObjectStorage_MemoryGZip::_storeData in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/MemoryGZip.php \PHPExcel_CachedObjectStorage_MemoryGZip::_storeData()
Store cell data in cache for the current cell object if it's "dirty", and the 'nullify' the current cell object
*
Return value
void
Throws
3 calls to PHPExcel_CachedObjectStorage_MemoryGZip::_storeData()
- PHPExcel_CachedObjectStorage_MemoryGZip::addCacheData in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ CachedObjectStorage/ MemoryGZip.php - Add or Update a cell in cache identified by coordinate address
- PHPExcel_CachedObjectStorage_MemoryGZip::getCacheData in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ CachedObjectStorage/ MemoryGZip.php - Get cell at a specific coordinate
- PHPExcel_CachedObjectStorage_MemoryGZip::getCellList in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ CachedObjectStorage/ MemoryGZip.php - * Get a list of all cell addresses currently held in cache * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ CachedObjectStorage/ MemoryGZip.php, line 45
Class
- PHPExcel_CachedObjectStorage_MemoryGZip
- PHPExcel_CachedObjectStorage_MemoryGZip
Code
protected function _storeData() {
if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) {
$this->_currentObject
->detach();
$this->_cellCache[$this->_currentObjectID] = gzdeflate(serialize($this->_currentObject));
$this->_currentCellIsDirty = false;
}
$this->_currentObjectID = $this->_currentObject = null;
}