Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Name

clear_all_cache

void clear_all_cache(int expire_time);

Annulla l'intera cache del template. Come parametro opzionale potete fornire un'età minima in secondi che i file della cache devono avere prima di essere eliminati.

Example 13.6. clear_all_cache


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