PHP Classes

File: template.php

Recommend this page to a friend!
  Classes of Martin Barker   Funcational Template Manager   template.php  
File: template.php
Role: Class source
Content type: text/plain
Description: The main class
Class: Funcational Template Manager
Template engine that replaces variables in files
Author: By
Last change: Changed to all php code inside the templates and the includes to templates

This is a unique system to this template engine you can add php code inside your template and the include files inside your template with the use of standard <?php ?> tags this will by run while the template is parsing and (untested) should allow you to use php to control what template variables are added to the system E.G
<?php
if($name == "martin"){
echo "Hello {%name%}";
}else{
echo "Hello Guest you need to sign in";
}
?>
This should then affect your template before rendering of the template engine begins
Date: 14 years ago
Size: 8,898 bytes

You need to be a registered user and login to get this file.

1,616,249 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: