Login   Register  
PHP Classes
elePHPant
Icontem

File: deletecache_ex.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Valics Lehel  >  Fast Template  >  deletecache_ex.php  >  Download  
File: deletecache_ex.php
Role: Example script
Content type: text/plain
Description: DELETE CACHE example script
Class: Fast Template
Updated revision of CDI Fast Template engine
Author: By
Last change:
Date: 2005-03-29 12:20
Size: 358 bytes
 

Contents

Class file image Download
<?php
// $Id: deletecache_ex.php,v 1.1 2005/03/22 20:40:34 lvalics Exp $
// Cache Example
include "cls_fast_template.php";

$ft = new FastTemplate('./templates');

// DELETE_CACHE will be used
// $ft->setCacheTime(3);
$ft->DELETE_CACHE();

$ft->define(array("main"=>"delcache.html"));

$ft->parse("BODY", array("main"));
$ft->FastPrint();

?>