Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vladimir  >  Templates class  >  index.php  >  Download  
File: index.php
Role: Sample output
Content type: text/plain
Description: example
Class: Templates class
Template engine that replaces variable marks
Author: By
Last change:
Date: 8 months ago
Size: 206 bytes
 

Contents

Class file image Download
<?php

/**
 * @author voker
 * @copyright 2012
 */

require_once('lib/tpl.class.php');
define("TMP_DIR","/tmp.class/templates");
$t = new tpl("class");
$TITLE = "hi dude";
$t->content('exp');
?>