public function PHPExcel_CachedObjectStorage_Memory::addCacheData in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Memory.php \PHPExcel_CachedObjectStorage_Memory::addCacheData()
Add or Update a cell in cache identified by coordinate address
Parameters
string $pCoord Coordinate address of the cell to update:
PHPExcel_Cell $cell Cell to update: * @return PHPExcel_Cell
Throws
Overrides PHPExcel_CachedObjectStorage_ICache::addCacheData
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ CachedObjectStorage/ Memory.php, line 54
Class
- PHPExcel_CachedObjectStorage_Memory
- PHPExcel_CachedObjectStorage_Memory
Code
public function addCacheData($pCoord, PHPExcel_Cell $cell) {
$this->_cellCache[$pCoord] = $cell;
// Set current entry to the new/updated entry
$this->_currentObjectID = $pCoord;
return $cell;
}