Zend Framework
1.12
|
Static Public Member Functions | |
static | factory ($frontend, $backend, $frontendOptions=array(), $backendOptions=array(), $customFrontendNaming=false, $customBackendNaming=false, $autoload=false) |
Factory. | |
static | _makeBackend ($backend, $backendOptions, $customBackendNaming=false, $autoload=false) |
Backend Constructor. | |
static | _makeFrontend ($frontend, $frontendOptions=array(), $customFrontendNaming=false, $autoload=false) |
Frontend Constructor. | |
static | throwException ($msg, Exception $e=null) |
Throw an exception. | |
Public Attributes | |
const | CLEANING_MODE_ALL = 'all' |
Consts for clean() method. | |
const | CLEANING_MODE_OLD = 'old' |
const | CLEANING_MODE_MATCHING_TAG = 'matchingTag' |
const | CLEANING_MODE_NOT_MATCHING_TAG = 'notMatchingTag' |
const | CLEANING_MODE_MATCHING_ANY_TAG = 'matchingAnyTag' |
Static Public Attributes | |
static | $standardFrontends = array('Core', 'Output', 'Class', 'File', 'Function', 'Page') |
static | $standardBackends |
static | $standardExtendedBackends = array('File', 'Apc', 'TwoLevels', 'Memcached', 'Libmemcached', 'Sqlite', 'WinCache') |
static | $availableFrontends = array('Core', 'Output', 'Class', 'File', 'Function', 'Page') |
static | $availableBackends = array('File', 'Sqlite', 'Memcached', 'Libmemcached', 'Apc', 'ZendPlatform', 'Xcache', 'WinCache', 'TwoLevels') |
Static Protected Member Functions | |
static | _normalizeName ($name) |
Normalize frontend and backend names to allow multiple words TitleCased. | |
|
static |
Backend Constructor.
string | $backend | |
array | $backendOptions | |
boolean | $customBackendNaming | |
boolean | $autoload |
|
static |
Frontend Constructor.
string | $frontend | |
array | $frontendOptions | |
boolean | $customFrontendNaming | |
boolean | $autoload |
|
staticprotected |
Normalize frontend and backend names to allow multiple words TitleCased.
string | $name | Name to normalize |
|
static |
Factory.
mixed | $frontend | frontend name (string) or Zend_Cache_Frontend_ object |
mixed | $backend | backend name (string) or Zend_Cache_Backend_ object |
array | $frontendOptions | associative array of options for the corresponding frontend constructor |
array | $backendOptions | associative array of options for the corresponding backend constructor |
boolean | $customFrontendNaming | if true, the frontend argument is used as a complete class name ; if false, the frontend argument is used as the end of "Zend_Cache_Frontend_[...]" class name |
boolean | $customBackendNaming | if true, the backend argument is used as a complete class name ; if false, the backend argument is used as the end of "Zend_Cache_Backend_[...]" class name |
boolean | $autoload | if true, there will no require_once for backend and frontend (useful only for custom backends/frontends) |
Zend_Cache_Exception |
|
static |
Throw an exception.
Note : for perf reasons, the "load" of Zend/Cache/Exception is dynamic
string | $msg | Message for the exception |
Zend_Cache_Exception |
|
static |
|
static |
|
static |
|
static |
|
static |
const CLEANING_MODE_ALL = 'all' |
Consts for clean() method.
const CLEANING_MODE_MATCHING_ANY_TAG = 'matchingAnyTag' |
const CLEANING_MODE_MATCHING_TAG = 'matchingTag' |
const CLEANING_MODE_NOT_MATCHING_TAG = 'notMatchingTag' |
const CLEANING_MODE_OLD = 'old' |