Login   Register  
PHP Classes
elePHPant
Icontem

REG_template: Template engine that uses regular expressions

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 (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-11-13 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 241 All time: 7,043 This week: 1,547Up
Version License PHP version Categories  
reg-template 1.4GNU General Public Lice...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: 39
All time rank: 7735 in Serbia Serbia
Week rank: 360 Up2 in Serbia Serbia Up
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:241All time:7,043
 This week:0This week:1,547Up