PHP Classes

File: deletecache_ex.php

Recommend this page to a friend!
  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: 19 years ago
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();

?>