| Smarty - the compiling PHP template engine - IT文档站 www.itdoc.cn | ||
|---|---|---|
| Prev | Chapter 13. Methods | Next |
This returns true if there is a valid cache for this template. This
only works if caching is set to
true.
在指定模板的缓存存在是返回真。只有在缓存设置为真时才可用。
You can also pass a cache id as an an optional second parameter in
case you want multiple caches for the given template.
如果模板有多个缓存的话,可以通过第二个可选参数指定缓存号。