class PHPExcel_CachedObjectStorageFactory

PHPExcel_CachedObjectStorageFactory

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Constants

cache_in_memory

cache_in_memory_gzip

cache_in_memory_serialized

cache_igbinary

cache_to_discISAM

cache_to_apc

cache_to_memcache

cache_to_phpTemp

cache_to_wincache

cache_to_sqlite

cache_to_sqlite3

Methods

static string|null
getCacheStorageMethod()

Return the current cache storage method

getCacheStorageClass()

Return the current cache storage class

static string[]
getAllCacheStorageMethods()

Return the list of all possible cache storage methods

static string[]
getCacheStorageMethods()

Return the list of all available cache storage methods

static boolean
initialize(string $method = self::cache_in_memory, array $arguments = array())

Identify the cache storage method to use

getInstance(PHPExcel_Worksheet $parent)

Initialise the cache storage

static 
finalize()

Clear the cache storage

Details

at line 128
static string|null getCacheStorageMethod()

Return the current cache storage method

Return Value

string|null

at line 138
static PHPExcel_CachedObjectStorage_ICache|null getCacheStorageClass()

Return the current cache storage class

at line 148
static string[] getAllCacheStorageMethods()

Return the list of all possible cache storage methods

Return Value

string[]

at line 158
static string[] getCacheStorageMethods()

Return the list of all available cache storage methods

Return Value

string[]

at line 178
static boolean initialize(string $method = self::cache_in_memory, array $arguments = array())

Identify the cache storage method to use

Parameters

string $method Name of the method to use for cell cacheing
array $arguments of mixed $arguments Additional arguments to pass to the cell caching class when instantiating

Return Value

boolean

at line 210
static PHPExcel_CachedObjectStorage_ICache getInstance(PHPExcel_Worksheet $parent)

Initialise the cache storage

Parameters

PHPExcel_Worksheet $parent Enable cell caching for this worksheet

Return Value

PHPExcel_CachedObjectStorage_ICache

at line 234
static finalize()

Clear the cache storage