PHP Classes
elePHPant
Icontem

REG_template: Template engine that uses regular expressions

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-11-13 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 243 All time: 7,461 This week: 1,109Up
Version License PHP version Categories
reg-template 1.4GNU General Publi...4.0Templates
Description Author

This class implements a template engine that uses regular expressions to locate and replace the template marks.

It takes a template file from a given directory and can search and replace marks with assigned variable values.

The class also supports literal sections with content that will not be processed as template marks, including external template files, conditional sections, iterate over sections multiple times, sections with explicit PHP code, and caching the processed template output for a given period of time.

Picture of Eper Kalman
Name: Eper Kalman <contact>
Classes: 10 packages by
Country: Serbia Serbia
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imageincludes (1 file)
Files folder imagetemplates (2 files)
Plain text file example.php Example example script
Accessible without login HTML file REG_template.html Doc. short documentation

  Files folder image Files  /  includes  
File Role Description
  Plain text file REG_template.class.php Class the main class

  Files folder image Files  /  templates  
File Role Description
  HTML file example.html Example template file
  Plain text file title.html Data template file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:243
This week:0
All time:7,461
This week:1,109Up