PHP Classes

Simple PHP Template Engine: Template engine based on text replacement

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 970 This week: 1All time: 3,730 This week: 560Up
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: ???
Age: 30
All time rank: 2405
Week rank: 411 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:970
This week:1
All time:3,730
This week:560Up
User Ratings User Comments (2)
 All time
Utility:75%StarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2050