clear_all_cache

void clear_all_cache (int expire time)

This clears the entire template cache. As an optional parameter, you can supply a minimum age in seconds the cache files must be before they will get cleared.

Пример 13-6. clear_all_cache

// clear the entire cache
$smarty->clear_all_cache();