Login   Register  
PHP Classes

Simplest Template: Template engine based on simple text replacing

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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-02-28 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 860 All time: 3,764 This week: 1,529Up
Version License Categories  
simplest_template 1.0GNU General Public Lice...PHP 5, Templates
Description Author  

This class implements a template engine based on simple text replacing.

It can read a template from a given file and replace specified placeholder marks by given text values.

It may also replace predefined placeholder marks for HTML page CSS file, page header, page body and page footer, by values assigned to specific class variables.

The processed template is returned a text string value.

Picture of Julien PACHET
Name: Julien PACHET <contact>
Classes: 15 packages by
Country: France France
Age: 38
All time rank: 261 in France France
Week rank: 86 Down7 in France France Down

  Files folder image Files  
File Role Description
Plain text file class_template.inc.php Class class source
Accessible without login Plain text file index.php Example class use example
Accessible without login Plain text file template_a.html Data template example

 Version Control Unique User Downloads Download Rankings  
 0%Total:860All time:3,764
 This week:0This week:1,529Up