constructor Cache_Lite_Function::Cache_Lite_Function()

constructor Cache_Lite_Function::Cache_Lite_Function() -- Constructor

Synopsis

require_once 'Cache/Lite/Function.php';

void constructor Cache_Lite_Function::Cache_Lite_Function ([array $options = array(NULL)])

ïÐÉÓÁÎÉÅ

The constructor of the Cache_Lite_Output class. You can give an associative array as an argument to set a lot of options.

ðÁÒÁÍÅÔÒ

array $options

associative array to set a lot of options (see Cache_Lite constructor for details). Be carefull, with Cache_Lite_Function, additional options are available (comparatively to Cache_Lite). There are described on the following table.

Таблица 31-1.

OptionData TypeDefault ValueDescription
[...][...][...]See Cache_Lite constructor for more options
defaultGroup string Cache_Lite_Function default cache group for function caching
debugCacheLiteFunction boolean FALSE debug the caching process
dontCacheWhenTheOutputContainsNOCACHE boolean FALSE Don't cache the method call when its output contains the string "NOCACHE". If set to true, the output of the method will never be displayed (because the output is used to control the cache)
dontCacheWhenTheResultIsFalse boolean FALSE Don't cache the method call when its result is false
dontCacheWhenTheResultIsNull boolean FALSE Don't cache the method call when its result is null

úÁÍÅÔËÁ

üÔÁ ÆÕÎËÃÉÑ ÎÅ ÄÏÌÖÎÁ ×ÙÚÙ×ÁÔØÓÑ ÓÔÁÔÉÞÅÓËÉ.


HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà