PHP Classes

MBTemplate Class: Process templates replacing tags

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 215 All time: 8,286 This week: 190Up
Version License PHP version Categories
mb_template_class 1.0GNU General Publi...4.0Templates


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
  Performance   Level  
Name: Mustafa Berkan BICER <contact>
Classes: 3 packages by
Country: Turkey Turkey
Age: 35
All time rank: 215637 in Turkey Turkey
Week rank: 578 Up10 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  
This week:0
All time:8,286
This week:190Up