[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/phpexcel/PHPExcel/CachedObjectStorage/ -> Memcache.php (summary)

PHPExcel Copyright (c) 2006 - 2014 PHPExcel

Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: ##VERSION##, ##DATE##
File Size: 312 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_CachedObjectStorage_Memcache:: (12 methods):
  _storeData()
  addCacheData()
  isDataSet()
  getCacheData()
  getCellList()
  deleteCacheData()
  copyCellCollection()
  unsetWorksheetCells()
  __construct()
  failureCallback()
  __destruct()
  cacheMethodIsAvailable()


Class: PHPExcel_CachedObjectStorage_Memcache  - X-Ref

PHPExcel_CachedObjectStorage_Memcache

_storeData()   X-Ref
Store cell data in cache for the current cell object if it's "dirty",
and the 'nullify' the current cell object

return: void

addCacheData($pCoord, PHPExcel_Cell $cell)   X-Ref
Add or Update a cell in cache identified by coordinate address

param: string            $pCoord        Coordinate address of the cell to update
param: PHPExcel_Cell    $cell        Cell to update
return: void

isDataSet($pCoord)   X-Ref
Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?

param: string        $pCoord        Coordinate address of the cell to check
return: void
return: boolean

getCacheData($pCoord)   X-Ref
Get cell at a specific coordinate

param: string             $pCoord        Coordinate of the cell
return: PHPExcel_Cell     Cell that was found, or null if not found

getCellList()   X-Ref
Get a list of all cell addresses currently held in cache

return: array of string

deleteCacheData($pCoord)   X-Ref
Delete a cell in cache identified by coordinate address

param: string            $pCoord        Coordinate address of the cell to delete

copyCellCollection(PHPExcel_Worksheet $parent)   X-Ref
Clone the cell collection

param: PHPExcel_Worksheet    $parent        The new worksheet
return: void

unsetWorksheetCells()   X-Ref
Clear the cell collection and disconnect from our parent

return: void

__construct(PHPExcel_Worksheet $parent, $arguments)   X-Ref
Initialise this new cell collection

param: PHPExcel_Worksheet    $parent        The worksheet for this cell collection
param: array of mixed        $arguments    Additional initialisation arguments

failureCallback($host, $port)   X-Ref
Memcache error handler

param: string    $host        Memcache server
param: integer    $port        Memcache port

__destruct()   X-Ref
Destroy this cell collection


cacheMethodIsAvailable()   X-Ref
Identify whether the caching method is currently available
Some methods are dependent on the availability of certain extensions being enabled in the PHP build

return: boolean



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1