constructor Cache_Lite_Function::Cache_Lite_Function()
Описание
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.
Таблица 32-1.
Option | Data Type | Default Value | Description |
---|---|---|---|
[...] | [...] | [...] | 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 |
Пред. | Начало | След. |
Cache_Lite_Output::end() | Уровень выше | Cache_Lite_Function::call() |