ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct (PHPExcel_Worksheet $parent) | |
Initialise this new cell collection. More... | |
getParent () | |
Return the parent worksheet for this cell collection. More... | |
isDataSet ($pCoord) | |
Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? More... | |
moveCell ($fromAddress, $toAddress) | |
Move a cell object from one address to another. More... | |
updateCacheData (PHPExcel_Cell $cell) | |
Add or Update a cell in cache. More... | |
deleteCacheData ($pCoord) | |
Delete a cell in cache identified by coordinate address. More... | |
getCellList () | |
Get a list of all cell addresses currently held in cache. More... | |
getSortedCellList () | |
Sort the list of all cell addresses currently held in cache by row and column. More... | |
getHighestRowAndColumn () | |
Get highest worksheet column and highest row that have cell records. More... | |
getCurrentAddress () | |
Return the cell address of the currently active cell object. More... | |
getCurrentColumn () | |
Return the column address of the currently active cell object. More... | |
getCurrentRow () | |
Return the row address of the currently active cell object. More... | |
getHighestColumn ($row=null) | |
Get highest worksheet column. More... | |
getHighestRow ($column=null) | |
Get highest worksheet row. More... | |
copyCellCollection (PHPExcel_Worksheet $parent) | |
Clone the cell collection. More... | |
removeRow ($row) | |
Remove a row, deleting all cells in that row. More... | |
removeColumn ($column) | |
Remove a column, deleting all cells in that column. More... | |
Static Public Member Functions | |
static | cacheMethodIsAvailable () |
Identify whether the caching method is currently available Some methods are dependent on the availability of certain extensions being enabled in the PHP build. More... | |
Protected Member Functions | |
_getUniqueID () | |
Generate a unique ID for cache referencing. More... | |
Protected Attributes | |
$_parent | |
$_currentObject = null | |
$_currentObjectID = null | |
$_currentCellIsDirty = true | |
$_cellCache = array() | |
Definition at line 36 of file CacheBase.php.
PHPExcel_CachedObjectStorage_CacheBase::__construct | ( | PHPExcel_Worksheet | $parent | ) |
Initialise this new cell collection.
PHPExcel_Worksheet | $parent | The worksheet for this cell collection |
Definition at line 81 of file CacheBase.php.
|
protected |
Generate a unique ID for cache referencing.
Definition at line 311 of file CacheBase.php.
Referenced by PHPExcel_CachedObjectStorage_DiscISAM\__construct(), PHPExcel_CachedObjectStorage_APC\__construct(), PHPExcel_CachedObjectStorage_Memcache\__construct(), PHPExcel_CachedObjectStorage_Wincache\__construct(), PHPExcel_CachedObjectStorage_SQLite\__construct(), PHPExcel_CachedObjectStorage_SQLite3\__construct(), PHPExcel_CachedObjectStorage_DiscISAM\copyCellCollection(), PHPExcel_CachedObjectStorage_APC\copyCellCollection(), PHPExcel_CachedObjectStorage_Wincache\copyCellCollection(), PHPExcel_CachedObjectStorage_Memcache\copyCellCollection(), PHPExcel_CachedObjectStorage_SQLite\copyCellCollection(), and PHPExcel_CachedObjectStorage_SQLite3\copyCellCollection().
|
static |
Identify whether the caching method is currently available Some methods are dependent on the availability of certain extensions being enabled in the PHP build.
Definition at line 372 of file CacheBase.php.
PHPExcel_CachedObjectStorage_CacheBase::copyCellCollection | ( | PHPExcel_Worksheet | $parent | ) |
Clone the cell collection.
PHPExcel_Worksheet | $parent | The new worksheet |
Definition at line 326 of file CacheBase.php.
References $_currentCellIsDirty.
PHPExcel_CachedObjectStorage_CacheBase::deleteCacheData | ( | $pCoord | ) |
Delete a cell in cache identified by coordinate address.
string | $pCoord | Coordinate address of the cell to delete |
PHPExcel_Exception |
Definition at line 153 of file CacheBase.php.
Referenced by removeColumn(), and removeRow().
PHPExcel_CachedObjectStorage_CacheBase::getCellList | ( | ) |
Get a list of all cell addresses currently held in cache.
Definition at line 172 of file CacheBase.php.
Referenced by getHighestColumn(), getHighestRow(), getHighestRowAndColumn(), getSortedCellList(), removeColumn(), and removeRow().
PHPExcel_CachedObjectStorage_CacheBase::getCurrentAddress | ( | ) |
Return the cell address of the currently active cell object.
Definition at line 227 of file CacheBase.php.
References $_currentObjectID.
PHPExcel_CachedObjectStorage_CacheBase::getCurrentColumn | ( | ) |
Return the column address of the currently active cell object.
Definition at line 237 of file CacheBase.php.
PHPExcel_CachedObjectStorage_CacheBase::getCurrentRow | ( | ) |
Return the row address of the currently active cell object.
Definition at line 248 of file CacheBase.php.
PHPExcel_CachedObjectStorage_CacheBase::getHighestColumn | ( | $row = null | ) |
Get highest worksheet column.
string | $row | Return the highest column for the specified row, or the highest column of any row if no row number is passed |
Definition at line 261 of file CacheBase.php.
References $r, $row, array, PHPExcel_Cell\columnIndexFromString(), getCellList(), getHighestRowAndColumn(), and PHPExcel_Cell\stringFromColumnIndex().
PHPExcel_CachedObjectStorage_CacheBase::getHighestRow | ( | $column = null | ) |
Get highest worksheet row.
string | $column | Return the highest row for the specified column, or the highest row of any column if no column letter is passed |
Definition at line 286 of file CacheBase.php.
References $column, $r, array, getCellList(), and getHighestRowAndColumn().
PHPExcel_CachedObjectStorage_CacheBase::getHighestRowAndColumn | ( | ) |
Get highest worksheet column and highest row that have cell records.
Definition at line 200 of file CacheBase.php.
References $r, $row, array, and getCellList().
Referenced by getHighestColumn(), and getHighestRow().
PHPExcel_CachedObjectStorage_CacheBase::getParent | ( | ) |
Return the parent worksheet for this cell collection.
Definition at line 94 of file CacheBase.php.
References $_parent.
PHPExcel_CachedObjectStorage_CacheBase::getSortedCellList | ( | ) |
Sort the list of all cell addresses currently held in cache by row and column.
Definition at line 182 of file CacheBase.php.
References $column, $row, array, and getCellList().
PHPExcel_CachedObjectStorage_CacheBase::isDataSet | ( | $pCoord | ) |
Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?
string | $pCoord | Coordinate address of the cell to check |
Definition at line 105 of file CacheBase.php.
PHPExcel_CachedObjectStorage_CacheBase::moveCell | ( | $fromAddress, | |
$toAddress | |||
) |
Move a cell object from one address to another.
string | $fromAddress | Current address of the cell to move |
string | $toAddress | Destination address of the cell to move |
Definition at line 121 of file CacheBase.php.
PHPExcel_CachedObjectStorage_CacheBase::removeColumn | ( | $column | ) |
Remove a column, deleting all cells in that column.
string | $column | Column ID to remove |
Definition at line 357 of file CacheBase.php.
References $column, $r, deleteCacheData(), and getCellList().
PHPExcel_CachedObjectStorage_CacheBase::removeRow | ( | $row | ) |
Remove a row, deleting all cells in that row.
string | $row | Row number to remove |
Definition at line 342 of file CacheBase.php.
References $r, $row, deleteCacheData(), and getCellList().
PHPExcel_CachedObjectStorage_CacheBase::updateCacheData | ( | PHPExcel_Cell | $cell | ) |
Add or Update a cell in cache.
PHPExcel_Cell | $cell | Cell to update |
PHPExcel_Exception |
Definition at line 142 of file CacheBase.php.
References PHPExcel_Cell\getCoordinate().
|
protected |
Definition at line 73 of file CacheBase.php.
|
protected |
Definition at line 65 of file CacheBase.php.
Referenced by PHPExcel_CachedObjectStorage_SQLite\copyCellCollection(), PHPExcel_CachedObjectStorage_SQLite3\copyCellCollection(), and copyCellCollection().
|
protected |
Definition at line 50 of file CacheBase.php.
Referenced by PHPExcel_CachedObjectStorage_Igbinary\getCacheData(), PHPExcel_CachedObjectStorage_MemoryGZip\getCacheData(), PHPExcel_CachedObjectStorage_MemorySerialized\getCacheData(), PHPExcel_CachedObjectStorage_SQLite\getCacheData(), PHPExcel_CachedObjectStorage_PHPTemp\getCacheData(), PHPExcel_CachedObjectStorage_DiscISAM\getCacheData(), PHPExcel_CachedObjectStorage_SQLite3\getCacheData(), PHPExcel_CachedObjectStorage_APC\getCacheData(), PHPExcel_CachedObjectStorage_Wincache\getCacheData(), and PHPExcel_CachedObjectStorage_Memcache\getCacheData().
|
protected |
Definition at line 57 of file CacheBase.php.
Referenced by PHPExcel_CachedObjectStorage_Igbinary\_storeData(), PHPExcel_CachedObjectStorage_MemoryGZip\_storeData(), PHPExcel_CachedObjectStorage_MemorySerialized\_storeData(), PHPExcel_CachedObjectStorage_PHPTemp\_storeData(), PHPExcel_CachedObjectStorage_DiscISAM\_storeData(), and getCurrentAddress().
|
protected |
Definition at line 43 of file CacheBase.php.
Referenced by getParent().