Class Cache_Lite_Function

Description

Located in /includes/Cache/Lite/Function.php (line 24)

Cache_Lite
   |
   --Cache_Lite_Function
Variable Summary
Method Summary
Cache_Lite_Function Cache_Lite_Function ([array $options = array(NULL)])
mixed call ()
Variables
Methods
Constructor Cache_Lite_Function (line 53)

Constructor

$options is an assoc. To have a look at availables options, see the constructor of the Cache_Lite class in 'Cache_Lite.php'

Comparing to Cache_Lite constructor, there is another option : $options = array( (...) see Cache_Lite constructor 'defaultGroup' => default cache group for function caching (string) );

  • access: public
Cache_Lite_Function Cache_Lite_Function ([array $options = array(NULL)])
  • array $options: options
call (line 72)

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 ()

Inherited Methods

Inherited From Cache_Lite

Cache_Lite::Cache_Lite()
Cache_Lite::clean()
Cache_Lite::get()
Cache_Lite::getMemoryCachingState()
Cache_Lite::lastModified()
Cache_Lite::raiseError()
Cache_Lite::remove()
Cache_Lite::save()
Cache_Lite::saveMemoryCachingState()
Cache_Lite::setLifeTime()
Cache_Lite::setToDebug()

Documentation generated on Fri, 4 Mar 2005 13:56:16 +1000 by phpDocumentor 1.3.0RC3