Login   Register  
PHP Classes
elePHPant
Icontem

File: Example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 9 years ago
Size: 241 bytes
 

Contents

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' );