Login   Register  
PHP Classes
elePHPant
Icontem

Template parser: Template engine with tags defined by another class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-02-19 (9 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 367 All time: 6,135 This week: 1,498Up
Version License PHP version Categories  
template-parser 1.2GNU Lesser General Publ...4.0Templates
Description Author  

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
Name: Roger Baklund is available for providing paid consulting. Contact Roger Baklund .
Classes: 6 packages by
Country: Norway Norway
Age: 48
All time rank: 20127 in Norway Norway
Week rank: 415 Up3 in Norway Norway Up
Innovation award
Innovation award
Nominee: 3x

  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  
 0%Total:367All time:6,135
 This week:0This week:1,498Up