Docs For Class PHPExcel_CachedObjectStorage_Wincache

PHPExcel_CachedObjectStorage

# Class: PHPExcel_CachedObjectStorage_Wincache

Source Location: /PHPExcel/CachedObjectStorage/Wincache.php

### Class Overview

    PHPExcel_CachedObjectStorage_CacheBase
       |
       --PHPExcel_CachedObjectStorage_Wincache

PHPExcel_CachedObjectStorage_Wincache

#### Author(s):

#### Copyright:

- Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

Implements interfaces:

- PHPExcel_CachedObjectStorage_ICache

### Methods

- __construct
- __destruct
- addCacheData
- copyCellCollection
- deleteCacheData
- getCacheData
- isDataSet
- unsetWorksheetCells

### Inherited Variables

#### Class: PHPExcel_CachedObjectStorage_CacheBase

PHPExcel_CachedObjectStorage_CacheBase::$_cellCache
PHPExcel_CachedObjectStorage_CacheBase::$_currentObject
PHPExcel_CachedObjectStorage_CacheBase::$_currentObjectID
PHPExcel_CachedObjectStorage_CacheBase::$_parent

### Inherited Methods

#### Class: PHPExcel_CachedObjectStorage_CacheBase

PHPExcel_CachedObjectStorage_CacheBase::__construct()
PHPExcel_CachedObjectStorage_CacheBase::copyCellCollection()
  Clone the cell collection
PHPExcel_CachedObjectStorage_CacheBase::deleteCacheData()
  Delete a cell in cache identified by coordinate address
PHPExcel_CachedObjectStorage_CacheBase::getCellList()
  Get a list of all cell addresses currently held in cache
PHPExcel_CachedObjectStorage_CacheBase::getSortedCellList()
  Sort the list of all cell addresses currently held in cache by row and column
PHPExcel_CachedObjectStorage_CacheBase::isDataSet()
  Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?
PHPExcel_CachedObjectStorage_CacheBase::updateCacheData()
  Add or Update a cell in cache
PHPExcel_CachedObjectStorage_CacheBase::_getUniqueID()

### Class Details

[line 36]
PHPExcel_CachedObjectStorage_Wincache

#### Tags:

copyright: | Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

[ Top ]

### Class Methods

### constructor __construct [line 210]

`PHPExcel_CachedObjectStorage_Wincache __construct( $parent, $arguments)`

#### Tags:

access: | public

Overrides PHPExcel_CachedObjectStorage_CacheBase::__construct() (parent method not documented)

#### Parameters:

PHPExcel_Worksheet | $parent |
| $arguments |

[ Top ]

### destructor __destruct [line 223]

`void __destruct( )`

#### Tags:

access: | public

[ Top ]

### method addCacheData [line 71]

`void addCacheData( string $pCoord, $cell)`

Add or Update a cell in cache identified by coordinate address

#### Tags:

throws: | Exception
access: | public

Implementation of:

PHPExcel_CachedObjectStorage_ICache::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

[ Top ]

### method copyCellCollection [line 169]

`void copyCellCollection( $parent)`

Clone the cell collection

#### Tags:

access: | public

Implementation of:

PHPExcel_CachedObjectStorage_ICache::copyCellCollection()
  Clone the cell collection

Overrides PHPExcel_CachedObjectStorage_CacheBase::copyCellCollection() (Clone the cell collection)

#### Parameters:

PHPExcel_Worksheet | $parent |

[ Top ]

### method deleteCacheData [line 155]

`void deleteCacheData( string $pCoord)`

Delete a cell in cache identified by coordinate address

#### Tags:

throws: | Exception
access: | public

Implementation of:

PHPExcel_CachedObjectStorage_ICache::deleteCacheData()
  Delete a cell in cache identified by coordinate address

Overrides PHPExcel_CachedObjectStorage_CacheBase::deleteCacheData() (Delete a cell in cache identified by coordinate address)

#### Parameters:

string | $pCoord | Coordinate address of the cell to delete

[ Top ]

### method getCacheData [line 117]

`PHPExcel_Cell getCacheData( string $pCoord)`

Get cell at a specific coordinate

#### Tags:

return: | Cell that was found, or null if not found
throws: | Exception
access: | public

Implementation of:

PHPExcel_CachedObjectStorage_ICache::getCacheData()
  Fetch a cell from cache identified by coordinate address

#### Parameters:

string | $pCoord | Coordinate of the cell

[ Top ]

### method isDataSet [line 91]

`void isDataSet( string $pCoord)`

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

#### Tags:

access: | public

Implementation of:

PHPExcel_CachedObjectStorage_ICache::isDataSet()
  Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?

Overrides PHPExcel_CachedObjectStorage_CacheBase::isDataSet() (Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?)

#### Parameters:

string | $pCoord | Coordinate address of the cell to check

[ Top ]

### method unsetWorksheetCells [line 194]

`void unsetWorksheetCells( )`

#### Tags:

access: | public

[ Top ]

Documentation generated on Sun, 27 Feb 2011 16:37:01 -0800 by phpDocumentor 1.4.3