Smarty Manual
Prev |  | Next

# clear_all_cache

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.

Example 1. clear_all_cache
`<?php // clear the entire cache $smarty->clear_all_cache(); ?>`

Prev | Home | Next
clear_all_assign | Up | clear_assign