Comunitatea PHP Romania
 

 
clear_all_cache()

clear_all_cache()

clear_all_cache() -- clears the entire template cache

Description

void clear_all_cache ( [int expire_time])

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

Example 13-1. clear_all_cache

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

// clears all files over one hour old
$smarty->clear_all_cache(3600);
?>

See also clear_cache(), is_cached() and the caching page.

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
mihaitha mihaitha
Sibiu
Mascka Mascka
Braila
gabysolomon gabysolomon
Bacau
whooper whooper
Toronto ON
raul_ raul_
dechim dechim
Drobeta Turnu Severin
Amenthes Amenthes

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Homes for Sale | Remortgaging | Online Advertising | Foreign Domains | Auto Loans
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis