Methods
Initialise this new cell collection
__construct(\PHPExcel_Worksheet $parent, array $arguments)
Parameters
$arguments
array
of mixed $arguments Additional initialisation arguments
Destroy this cell collection
__destruct()
Add or Update a cell in cache identified by coordinate address
addCacheData(string $pCoord, \PHPExcel_Cell $cell) : void
Parameters
$pCoord
string
Coordinate address of the cell to update
Exceptions
Identify whether the caching method is currently available
Some methods are dependent on the availability of certain extensions being enabled in the PHP build
cacheMethodIsAvailable() : boolean
Static
Clone the cell collection
copyCellCollection(\PHPExcel_Worksheet $parent) : void
Delete a cell in cache identified by coordinate address
deleteCacheData(string $pCoord)
Parameters
$pCoord
string
Coordinate address of the cell to delete
Exceptions
Memcache error handler
failureCallback(string $host, integer $port)
Parameters
$host
string
Memcache server
$port
integer
Memcache port
Exceptions
Get cell at a specific coordinate
getCacheData(string $pCoord) : \PHPExcel_Cell
Parameters
$pCoord
string
Coordinate of the cell
Exceptions
Returns
Get a list of all cell addresses currently held in cache
getCellList() : array
Return the cell address of the currently active cell object
getCurrentAddress() : string
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::getCurrentAddress() |
Returns
string
Return the column address of the currently active cell object
getCurrentColumn() : string
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::getCurrentColumn() |
Returns
string
Return the row address of the currently active cell object
getCurrentRow() : string
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::getCurrentRow() |
Returns
string
Get highest worksheet column
getHighestColumn(string $row) : string
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::getHighestColumn() |
Parameters
$row
string
Return the highest column for the specified row,
or the highest column of any row if no row number is passed
Returns
string
Highest column name
Get highest worksheet row
getHighestRow(string $column) : int
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::getHighestRow() |
Parameters
$column
string
Return the highest row for the specified column,
or the highest row of any column if no column letter is passed
Returns
int
Highest row number
Get highest worksheet column and highest row that have cell records
getHighestRowAndColumn() : array
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::getHighestRowAndColumn() |
Returns
array
Highest column name and highest row number
Return the parent worksheet for this cell collection
getParent() : \PHPExcel_Worksheet
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::getParent() |
Returns
Get the list of all cell addresses currently held in cache sorted by column and row
getSortedCellList() : void
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_ICache::getSortedCellList() |
Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?
isDataSet(string $pCoord) : void: boolean
Parameters
$pCoord
string
Coordinate address of the cell to check
Returns
boolean
Move a cell object from one address to another
moveCell(string $fromAddress, string $toAddress) : boolean
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::moveCell() |
Parameters
$fromAddress
string
Current address of the cell to move
$toAddress
string
Destination address of the cell to move
Returns
boolean
Clear the cell collection and disconnect from our parent
unsetWorksheetCells() : void
Add or Update a cell in cache
updateCacheData(\PHPExcel_Cell $cell) : void
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_ICache::updateCacheData() |
Parameters
Exceptions
Generate a unique ID for cache referencing
_getUniqueID() : string
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::_getUniqueID() |
Returns
string
Unique Reference
Store cell data in cache for the current cell object if it's "dirty",
and the 'nullify' the current cell object
_storeData() : void
Properties
$_cellCache : array
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::$$_cellCache |
$_currentCellIsDirty : boolean
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::$$_currentCellIsDirty |
$_currentObject : \PHPExcel_Cell
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::$$_currentObject |
$_currentObjectID : string
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::$$_currentObjectID |
$_parent : \PHPExcel_Worksheet
Inherited
inherited_from |
\PHPExcel_CachedObjectStorage_CacheBase::$$_parent |