Zend_Cache_CoreLocated in /Cache/Core.php (line 28)
BACKEND_NOT_IMPLEMENTS_EXTENDED_IF = 'Current backend doesn\'t implement the Zend_Cache_Backend_ExtendedInterface, so this method is not available'
static array
$_directivesList
= array('lifetime', 'logging', 'logger') (line 100)
Array of options which have to be transfered to backend
object
$_backend
= null (line 41)
Backend Object
array
$_backendCapabilities
= array() (line 128)
Array of capabilities of the backend (only if it implements Zend_Cache_Backend_ExtendedInterface)
boolean
$_extendedBackend
= false (line 121)
True if the backend implements Zend_Cache_Backend_ExtendedInterface
array
$_options
= array(Available options
====> (boolean) write_control :
====> (boolean) caching :
=====> (string) cache_id_prefix :
array
$_specificOptions
= array() (line 107)
Not used for the core, just a sort a hint to get a common setOption() method (for the core and for frontends)
static _validateIdOrTag (line 664)
Validate a cache id or a tag (security, reliable filenames, reserved prefixes...)
Throw an exception if a problem is found
static _validateTagsArray (line 686)
Validate a tags array (security, reliable filenames, reserved prefixes...)
Throw an exception if a problem is found
Constructor __construct (line 137)
Constructor
clean (line 448)
Clean cache entries
Available modes are : 'all' (default) => remove all cache entries ($tags is not used) 'old' => remove too old cache entries ($tags is not used) 'matchingTag' => remove cache entries matching all given tags ($tags can be an array of strings or a single string) 'notMatchingTag' => remove cache entries not matching one of the given tags ($tags can be an array of strings or a single string) 'matchingAnyTag' => remove cache entries matching any given tags ($tags can be an array of strings or a single string)
getBackend (line 196)
Returns the backend
getFillingPercentage (line 611)
Return the filling percentage of the backend storage
getIds (line 568)
Return an array of stored cache ids
getIdsMatchingAnyTags (line 538)
Return an array of stored cache ids which match any given tags
In case of multiple tags, a logical OR is made between tags
getIdsMatchingTags (line 472)
Return an array of stored cache ids which match given tags
In case of multiple tags, a logical AND is made between tags
getIdsNotMatchingTags (line 505)
Return an array of stored cache ids which don't match given tags
In case of multiple tags, a logical OR is made between tags
getMetadatas (line 630)
Return an array of metadatas for the given cache id
The array will include these keys :
getOption (line 236)
Public frontend to get an option value
getTags (line 595)
Return an array of stored tags
load (line 295)
Test if a cache is available for the given id and (if yes) return it (false else)
remove (line 420)
Remove a cache
save (line 343)
Save some data in a cache
setBackend (line 174)
Set the backend
setLifetime (line 279)
Force a new lifetime
The new value is set for the core/frontend but for the backend too (directive)
setOption (line 211)
Public frontend to set an option
There is an additional validation (relatively to the protected _setOption method)
test (line 321)
Test if a cache is available for the given id
touch (line 646)
Give (if possible) an extra lifetime to the given cache id
_id (line 748)
Make and return a cache id
Checks 'cache_id_prefix' and returns new id with prefix or simply the id if null
_log (line 728)
Log a message at the WARN (4) priority.
_loggerSanity (line 705)
Make sure if we enable logging that the Zend_Log class is available.
Create a default log object if none is set.
Documentation generated on Mon, 21 Jun 2010 15:14:24 -0400 by phpDocumentor 1.4.3