PHP Classes

File: Example.php

Recommend this page to a friend!
  Classes of Piotr Biernat   KeeVee Template   Example.php   Download  
File: Example.php
Role: Example script
Content type: text/plain
Description: Example use
Class: KeeVee Template
Simple template engine with output caching support
Author: By
Last change:
Date: 19 years ago
Size: 241 bytes


Class file image Download
require_once 'tempalte.class.php';
$tpl = new Tempalte;
$tpl->strTemplateDir = './Path/To/Your/Template/Dir';
$tpl->strCacheDir = './Path/To/Yuor/Cache/Dir';
$tpl->assign( 'Test', 'Hello' );
$tpl->display( 'Your_Template_File.tpl' );