JCacheCallback
Description
Joomla! Cache callback type object
Located in /joomla/cache/handlers/callback.php (line 26)
JObject (Subpackage Base) JCache JCacheCallback (Subpackage Cache)
Methods
call (line 43)
Executes a cacheable callback if not found in cache else returns cached output and result
Since arguments to this function are read with func_get_args you can pass any number of arguments to this method as long as the first argument passed is the callback definition.
The callback definition can be in several forms:
- Standard PHP Callback array <http://php.net/callback> [recommended]
- Function name as a string eg. 'foo' for function foo()
- Static method name as a string eg. 'MyClass::myMethod' for method myMethod() of class MyClass
mixed
call
()
get (line 61)
Executes a cacheable callback if not found in cache else returns cached output and result
mixed
get
(mixed $callback, array $args, [ $id = false])
- mixed $callback: Callback or string shorthand for a callback
- array $args: Callback arguments
- $id
Redefinition of:
- JCache::get()
- Get cached data by id and group
Inherited Methods
Inherited From JCache
JCache::__construct()
JCache::clean()
JCache::gc()
JCache::get()
JCache::getInstance()
JCache::remove()
JCache::setCacheValidation()
JCache::setCaching()
JCache::setLifeTime()
JCache::store()
JCache::_getStorageHandler()
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 20:53:47 +0000 by phpDocumentor 1.3.1