Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
mixed $_cachedEntity = 'null'The cached object or the name of the cached abstract class
Detailsstring $_cachedEntityLabel = ''The class name of the cached object or cached abstract class
Used to differentiate between different classes with the same method calls.
Detailsint $_priority = '8'Priority (used by some particular backends)
Detailsint $_specificLifetime = 'false'SpecificLifetime value
false => no specific life time
Detailsarray $_specificOptions = 'array'Available options
====> (mixed) cached_entity : - if set to a class name, we will cache an abstract class and will use only static calls - if set to an object, we will cache this object methods
====> (boolean) cache_by_default : - if true, method calls will be cached by default
====> (array) cached_methods : - an array of method names which will be cached (even if cache_by_default = false)
====> (array) non_cached_methods : - an array of method names which won't be cached (even if cache_by_default = true)
Detailsarray $_tags = 'array'Tags array
Details__call(
string $name, array $parameters
)
:
mixedMain method : call the specified method or get the result from cache
Details__construct(
array $options
=
array
)
:
voidConstructor
Details_makeId(
$name, $args
)
:
ZF-9970
DetailsmakeId(
string $name, array $args
=
array
)
:
stringMake a cache id from the method name and parameters
DetailssetCachedEntity(
mixed $cachedEntity
)
:
Specific method to set the cachedEntity
if set to a class name, we will cache an abstract class and will use only static calls if set to an object, we will cache this object methods
DetailssetOption(
string $name, mixed $value
)
:
voidPublic frontend to set an option
Just a wrapper to get a specific behaviour for cached_entity
DetailssetPriority(
int $priority
)
:
Set the priority (used by some particular backends)
DetailssetSpecificLifetime(
int $specificLifetime
=
false
)
:
voidSet a specific life time
DetailssetTagsArray(
array $tags
=
array
)
:
voidSet the cache array
Details