46 if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) {
47 $this->_currentObject->detach();
50 $this->_currentCellIsDirty =
false;
52 $this->_currentObjectID = $this->_currentObject = null;
65 if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) {
69 $this->_currentObjectID = $pCoord;
70 $this->_currentObject = $cell;
71 $this->_currentCellIsDirty =
true;
85 if ($pCoord === $this->_currentObjectID) {
91 if (!isset($this->_cellCache[$pCoord])) {
97 $this->_currentObjectID = $pCoord;
98 $this->_currentObject = igbinary_unserialize($this->_cellCache[$pCoord]);
100 $this->_currentObject->attach($this);
113 if ($this->_currentObjectID !== null) {
117 return parent::getCellList();
127 if(!is_null($this->_currentObject)) {
128 $this->_currentObject->detach();
129 $this->_currentObject = $this->_currentObjectID = null;
131 $this->_cellCache =
array();
134 $this->_parent = null;
145 if (!function_exists(
'igbinary_serialize')) {
unsetWorksheetCells()
Clear the cell collection and disconnect from our parent.
_storeData()
Store cell data in cache for the current cell object if it's "dirty", and the 'nullify' the current c...
Create styles array
The data for the language used.
static cacheMethodIsAvailable()
Identify whether the caching method is currently available Some methods are dependent on the availabi...
addCacheData($pCoord, PHPExcel_Cell $cell)
Add or Update a cell in cache identified by coordinate address.
getCellList()
Get a list of all cell addresses currently held in cache.
getCacheData($pCoord)
Get cell at a specific coordinate.