PHP Classes
elePHPant
Icontem

Simple PHP Template Engine: Template engine based on text replacement

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-07-10 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 891 This week: 1All time: 3,703 This week: 1,360Up
Version License PHP version Categories  
php-tpl-engine 0.0.1GNU General Publi...5.2HTML, PHP 5, Templates
Description Author  

This class implements a template engine based on text replacement.

It can load a template file that contains marks to be replaced by parameter values.

The class can also replace the marks with HTML tags with optional parameter values.

Picture of Aleksandar Zivanovic
Name: Aleksandar Zivanovic <contact>
Classes: 1 package by
Country: Serbia and Montenegro Serbia and Montenegro
Age: 21
All time rank: 22956 in Serbia and Montenegro Serbia and Montenegro
Week rank: 1031 Up3 in Serbia and Montenegro Serbia and Montenegro Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.template.php Class TemplateEngine Class/Core
Accessible without login Plain text file index.php Example This is an example of how it works.
Accessible without login Plain text file test.tpl Data tpl file for example

 Version Control Unique User Downloads Download Rankings  
 0%Total:891All time:3,703
 This week:1This week:1,360Up
 User Comments (1)  
 
This is a good class ! But why do not use existing template e...
4 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar