Class Cache_Lite_Function

Description

Located in /libraries/pear/Cache/Lite/Function.php (line 21)

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

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

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()
 Cache_Lite::_hash()
 Cache_Lite::_memoryCacheAdd()
 Cache_Lite::_read()
 Cache_Lite::_setFileName()
 Cache_Lite::_write()
 Cache_Lite::_writeAndControl()

Documentation generated on Thu, 20 Jan 2005 17:10:01 +0000 by phpDocumentor 1.3.0RC3