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
StarStarStarStar 60%Total: 969 All time: 3,729 This week: 182Up
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: 29
All time rank: 2403
Week rank: 587 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:969
This week:0
All time:3,729
This week:182Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1277