vlibTemplate
Table of Contents
| Up:
8. vlibTemplateCache
| Previous:
8.2. recache()
| Next:
8.4. setCacheExtension()
8.3. setCacheLifeTime()
Function Description
setCacheLifeTime(int seconds)
This function sets the lifetime of the cache for this template file to the integer
seconds
.
Example
$tmpl->setCacheLifeTime(60); // sets the cache time to 1 minute