PHP Classes

MBTemplate Class: Process templates replacing tags

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 216 All time: 8,309 This week: 560Up
Version License PHP version Categories
mb_template_class 1.0GNU General Publi...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
  Performance   Level  

 

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:216
This week:0
All time:8,309
This week:560Up