Constants

cache_in_memory

cache_in_memory = 'Memory'

cache_in_memory_gzip

cache_in_memory_gzip = 'MemoryGZip'

cache_in_memory_serialized

cache_in_memory_serialized = 'MemorySerialized'

cache_igbinary

cache_igbinary = 'Igbinary'

cache_to_discISAM

cache_to_discISAM = 'DiscISAM'

cache_to_apc

cache_to_apc = 'APC'

cache_to_memcache

cache_to_memcache = 'Memcache'

cache_to_phpTemp

cache_to_phpTemp = 'PHPTemp'

cache_to_wincache

cache_to_wincache = 'Wincache'

cache_to_sqlite

cache_to_sqlite = 'SQLite'

cache_to_sqlite3

cache_to_sqlite3 = 'SQLite3'

Properties

$_cacheStorageMethod

$_cacheStorageMethod : string

Name of the method used for cell cacheing

Type

string

$_cacheStorageClass

$_cacheStorageClass : string

Name of the class used for cell cacheing

Type

string

$_storageMethods

$_storageMethods : string[]

List of all possible cache storage methods

Type

string[]

$_storageMethodDefaultParameters

$_storageMethodDefaultParameters : array

Default arguments for each cache storage method

Type

array — of mixed array

$_storageMethodParameters

$_storageMethodParameters : array

Arguments for the active cache storage method

Type

array — of mixed array

Methods

getCacheStorageMethod()

getCacheStorageMethod() : string|null

Return the current cache storage method

Returns

string|null —

getCacheStorageClass()

getCacheStorageClass() : \PHPExcel_CachedObjectStorage_ICache|null

Return the current cache storage class

Returns

\PHPExcel_CachedObjectStorage_ICache|null —

getAllCacheStorageMethods()

getAllCacheStorageMethods() : string[]

Return the list of all possible cache storage methods

Returns

string[] —

getCacheStorageMethods()

getCacheStorageMethods() : string[]

Return the list of all available cache storage methods

Returns

string[] —

initialize()

initialize(string  $method = self::cache_in_memory, mixed  $arguments = array()) : bool

Identify the cache storage method to use

Parameters

string $method

Name of the method to use for cell cacheing

mixed $arguments

Returns

bool —

getInstance()

getInstance(\PHPExcel_Worksheet  $parent) : \PHPExcel_CachedObjectStorage_ICache

Initialise the cache storage

Parameters

\PHPExcel_Worksheet $parent

Enable cell caching for this worksheet

Returns

\PHPExcel_CachedObjectStorage_ICache —

finalize()

finalize() : mixed

Clear the cache storage

Returns

mixed —