PHP Classes

Simple Template Parser: Template engine supporting conditions and loops

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,170 All time: 3,227 This week: 330Up
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: 214315 in Greece Greece
Week rank: 484 Up6 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,170
This week:0
All time:3,227
This week:330Up
For more information send a message to info at phpclasses dot org.