\PHPExcel_CachedObjectStorage_ICache

PHPExcel_CachedObjectStorage_ICache

Summary

Methods
Constants
addCacheData()
updateCacheData()
getCacheData()
deleteCacheData()
isDataSet()
getCellList()
getSortedCellList()
copyCellCollection()
cacheMethodIsAvailable()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

addCacheData()

addCacheData(string  $pCoord, \PHPExcel_Cell  $cell) : void

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

Throws

\PHPExcel_Exception

updateCacheData()

updateCacheData(\PHPExcel_Cell  $cell) : void

Add or Update a cell in cache

Parameters

\PHPExcel_Cell $cell

Cell to update

Throws

\PHPExcel_Exception

getCacheData()

getCacheData(string  $pCoord) : \PHPExcel_Cell

Fetch a cell from cache identified by coordinate address

Parameters

string $pCoord

Coordinate address of the cell to retrieve

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Cell

Cell that was found, or null if not found

deleteCacheData()

deleteCacheData(string  $pCoord) 

Delete a cell in cache identified by coordinate address

Parameters

string $pCoord

Coordinate address of the cell to delete

Throws

\PHPExcel_Exception

isDataSet()

isDataSet(string  $pCoord) : boolean

Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?

Parameters

string $pCoord

Coordinate address of the cell to check

Returns

boolean

getCellList()

getCellList() : array

Get a list of all cell addresses currently held in cache

Returns

array —

of string

getSortedCellList()

getSortedCellList() : void

Get the list of all cell addresses currently held in cache sorted by column and row

copyCellCollection()

copyCellCollection(\PHPExcel_Worksheet  $parent) : void

Clone the cell collection

Parameters

\PHPExcel_Worksheet $parent

The new worksheet

cacheMethodIsAvailable()

cacheMethodIsAvailable() : boolean

Identify whether the caching method is currently available Some methods are dependent on the availability of certain extensions being enabled in the PHP build

Returns

boolean