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,172 This week: 1All time: 3,229 This week: 560Up
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: 215015 in Greece Greece
Week rank: 411 Up4 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,172
This week:1
All time:3,229
This week:560Up