PHP Classes
elePHPant
Icontem

Thorpe Systems template: Template engine with block loop processing support

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-02-12 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 831 All time: 4,002 This week: 1,109Up
Version License Categories
tsp_template 1.0BSD LicenseTemplates
Description Author

This class implements a template engine that can perform variable substitution, supports blocks and can loop around blocks to iterate the processing of the same blocks using distinct variable substitution values.

Each template must start with a named block delimiter. A block ends when the delimter of a new block starts or when the template end is reached.

The output of a template is defined by telling the class to process a given block replacing the values of a given set of variables using PHP string replacing functions.

The class can render the template when the whole output definition is finished.

Picture of thorpe hepburn
Name: thorpe hepburn <contact>
Classes: 1 package by
Country: Australia Australia

  Files folder image Files  
File Role Description
Plain text file class.template.php Class the class itself
Accessible without login Plain text file example.html Data a template example
Accessible without login Plain text file example.php Example example script
Accessible without login Plain text file help.txt Doc. documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:831
This week:0
All time:4,002
This week:1,109Up
User Comments (1)
Excellent
7 years ago (kishore kumar)
80%StarStarStarStarStar