PHP Classes

Template parser: Template engine with tags defined by another class

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 382 All time: 6,692 This week: 166Up
Version License PHP version Categories
template-parser 1.2GNU Lesser Genera...4.0Templates


This class implements a template engine with tags defined by another class.

It can parse a template and extract the names of tag functions defined within tags delimiter characters.

The parser class calls a separate handler class with functions with the same of of the template tags to return the processed tag output.

The template parser class returns the processed template as a string.

The tag delimiter characters can be customized.

Picture of Roger Baklund
  Performance   Level  
Name: Roger Baklund is available for providing paid consulting. Contact Roger Baklund .
Classes: 7 packages by
Country: Norway Norway
Age: 56
All time rank: 18126 in Norway Norway
Week rank: 86 Up1 in Norway Norway Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file template_parser.class.php Class The main class
Plain text file test_template_parser.php Example Test/demo for template parser

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,692
This week:166Up