PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 836 All time: 4,153 This week: 560Up
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
Age: 48
All time rank: 259036 in Australia Australia
Week rank: 264 Up3 in Australia Australia Up

  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:836
This week:0
All time:4,153
This week:560Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:58%StarStarStar
Documentation:66%StarStarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2970
 
Excellent
14 years ago (kishore kumar)
80%StarStarStarStarStar