package | Zend_Cache |
---|---|
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
_makeBackend(string $backend, array $backendOptions, boolean $customBackendNaming= false
, boolean $autoload= false
) : \Zend_Cache_Backend
string
array
boolean
boolean
\Zend_Cache_Backend
_makeFrontend(string $frontend, array $frontendOptions= array()
, boolean $customFrontendNaming= false
, boolean $autoload= false
) : \Zend_Cache_Core | \Zend_Cache_Frontend
string
array
boolean
boolean
\Zend_Cache_Core
\Zend_Cache_Frontend
factory(mixed $frontend, mixed $backend, array $frontendOptions= array()
, array $backendOptions= array()
, boolean $customFrontendNaming= false
, boolean $customBackendNaming= false
, boolean $autoload= false
) : \Zend_Cache_Core | \Zend_Cache_Frontend
mixed
frontend name (string) or Zend_CacheFrontend object
mixed
backend name (string) or Zend_CacheBackend object
array
associative array of options for the corresponding frontend constructor
array
associative array of options for the corresponding backend constructor
boolean
if true, the frontend argument is used as a complete class name ; if false, the frontend argument is used as the end of "Zend_CacheFrontend[...]" class name
boolean
if true, the backend argument is used as a complete class name ; if false, the backend argument is used as the end of "Zend_CacheBackend[...]" class name
boolean
if true, there will no require_once for backend and frontend (useful only for custom backends/frontends)
\Zend_Cache_Exception |
---|
\Zend_Cache_Core
\Zend_Cache_Frontend
throwException(string $msg, \Exception $e = null
)
Note : for perf reasons, the "load" of Zend/Cache/Exception is dynamic
string
Message for the exception
\Zend_Cache_Exception |
---|
_normalizeName(string $name) : string
string
Name to normalize
string
_isReadable(string $filename) : boolean
This function uses the PHP include_path, where PHP's is_readable() does not.
Note : this method comes from Zend_Loader (see #ZF-2891 for details)
string
boolean
$availableBackends : array
array('File', 'Sqlite', 'Memcached', 'Libmemcached', 'Apc', 'ZendPlatform', 'Xcache', 'WinCache', 'TwoLevels')
deprecated |
---|
$availableFrontends : array
array('Core', 'Output', 'Class', 'File', 'Function', 'Page')
deprecated |
---|
$standardBackends : array
array('File', 'Sqlite', 'Memcached', 'Libmemcached', 'Apc', 'ZendPlatform', 'Xcache', 'TwoLevels', 'WinCache', 'ZendServer_Disk', 'ZendServer_ShMem')
$standardExtendedBackends : array
array('File', 'Apc', 'TwoLevels', 'Memcached', 'Libmemcached', 'Sqlite', 'WinCache')
$standardFrontends : array
array('Core', 'Output', 'Class', 'File', 'Function', 'Page')
CLEANING_MODE_ALL = 'all'
CLEANING_MODE_MATCHING_ANY_TAG = 'matchingAnyTag'
CLEANING_MODE_MATCHING_TAG = 'matchingTag'
CLEANING_MODE_NOT_MATCHING_TAG = 'notMatchingTag'
CLEANING_MODE_OLD = 'old'