PHP Classes

File: Example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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: 10 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' );