Login   Register  
PHP Classes
elePHPant
Icontem

Tmpl: Template engine that replaces placeholders

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 (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-02-16 (5 years ago) RSS 2.0 feedStarStarStar 51%Total: 496 All time: 5,331 This week: 1,565Up
Version License PHP version Categories  
tmpl 1.0The PHP License5PHP 5, Templates
Description Author  

This class implements a template engine that replaces placeholders with variable values.

It can read a template file and replace placeholders with given variable values.

The processed template is returned as a single string.

Picture of Marko Schulz
Name: Marko Schulz <contact>
Classes: 6 packages by
Country: Germany Germany
Age: 42
All time rank: 62643 in Germany Germany
Week rank: 447 Up12 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example This is only an example PHP file.
Accessible without login Plain text file example.tpl Data This is only an example Template file.
Plain text file tmpl.class.php Class This is the PHP class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:496All time:5,331
 This week:0This week:1,565Up
User Ratings User Comments (3)  
 All time
Utility:68%StarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:1549
 
Good, but simplistic, at this point.
5 years ago (F Philip DeGeorge)
55%StarStarStar
All this package does is string replace.
5 years ago (Ronny)
25%StarStar
Hi !! Thats a good class .
5 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar