?
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
void is_cached
(string
template, [string cache_id])
This returns true if there is a valid cache for this template. This
only works if caching is set to
true.
在指定模板的緩存存在是返回真。只有在緩存設(shè)置為真時(shí)才可用。
Example 13-18. is_cached
|
You can also pass a cache id as an an optional second parameter in
case you want multiple caches for the given template.
如果模板有多個(gè)緩存的話,可以通過第二個(gè)可選參數(shù)指定緩存號(hào)。
Example 13-19. is_cached with multiple-cache template
|