PHP Classes

Simple Template Parser: Template engine supporting conditions and loops

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-08-18 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,154 This week: 1All time: 3,100 This week: 1,125Up
Version License Categories  
stp 1.0GNU General Publi...Templates
Description Author  

This class implements a template engine that supports conditional and iterated template sections.

It can:

- Combine several templates to produce the output
- Display the processed template as the current script output or write it to a file
- Iterate over a section using loops
- Evaluate conditional sections that may be nested
- Output multiple columns per row in a table loop
- Change color parameters in a loop

Picture of Horst Brack
Name: Horst Brack <contact>
Classes: 1 package by
Country: Greece Greece
Age: ???
All time rank: 202615 in Greece Greece
Week rank: 922 Up9 in Greece Greece Up

  Files folder image Files  
File Role Description
Plain text file stp.php Class The STP class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,154All time:3,100
 This week:1This week:1,125Up