PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 246 This week: 1All time: 7,971 This week: 560Up
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
Age: 48
All time rank: 7525 in Serbia Serbia
Week rank: 411 Up5 in Serbia Serbia Equal
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:246
This week:1
All time:7,971
This week:560Up