Class JCacheFunction

Description

Class to support function caching

  • since: 1.1

Located in /cache/adapters/function.php (line 21)

Cache_Lite
   |
   --JCache
      |
      --JCacheFunction
Method Summary
 mixed call ()
 mixed callId (string $target, array $arguments, id $id)
 void _construct (array $options)
Variables

Inherited Variables

Inherited from JCache

JCache::$_defaultGroup
JCache::$_validateCache
Methods
call (line 44)

Calls a cacheable function or method (or not if there is already a cache for it)

Arguments of this method are read with func_get_args. So it doesn't appear in the function definition. Synopsis : call('functionName', $arg1, $arg2, ...) (arg1, arg2... are arguments of 'functionName')

  • return: result of the function/method
  • access: public
mixed call ()
callId (line 62)

Calls a cacheable function or method (or not if there is already a cache for it) and specify a specific id

  • return: result of the function/method
  • access: public
mixed callId (string $target, array $arguments, id $id)
  • string $target: Function to call
  • array $arguments: Argument of the function
  • id $id: Cache id
_construct (line 29)

Constructor

  • access: protected
void _construct (array $options)
  • array $options: options

Redefinition of:
JCache::_construct()
Constructor

Inherited Methods

Inherited From JCache

 JCache::JCache()
 JCache::cleanCache()
 JCache::generateId()
 JCache::getCache()
 JCache::getInstance()
 JCache::setCacheValidation()
 JCache::setCaching()
 JCache::_construct()

Documentation generated on Sat, 4 Feb 2006 14:23:37 +0100 by phpDocumentor 1.3.0RC4