Login   Register  
PHP Classes
elePHPant
Icontem

MBTemplate Class: Process templates replacing tags

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  
2008-01-27 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 205 All time: 7,142 This week: 1,896Up
Version License PHP version Categories  
mb_template_class 1.0GNU General Public Lice...4.0Templates
Description Author  
This class is a template processing engine that replaces tags by the respective values.

It loads templates from files and uses regular expressions to search and replace template placeholder tags by the respective parameter values.

The processed template output is stored in a class variable and may be displayed as part of the current script output.
Picture of Mustafa Berkan BICER
Name: Mustafa Berkan BICER <contact>
Classes: 3 packages by
Country: Turkey Turkey
Age: 26
All time rank: 196935 in Turkey Turkey
Week rank: 1076 Up17 in Turkey Turkey Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file content_body.html Data An example of a template
Plain text file template.class.php Class Template Engine Class
Accessible without login Plain text file test_template.php Example Template Engine Test File

 Version Control Unique User Downloads Download Rankings  
 0%Total:205All time:7,142
 This week:0This week:1,896Up