Login   Register  
PHP Classes
elePHPant
Icontem

SimpleTPL: Template engine based on PHP execution

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-28 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 522 All time: 5,125 This week: 1,443Up
Version License Categories  
simpletpl 1.0BSD LicenseTemplates
Description Author  

This is a simple class that implements a template engine based on PHP execution.

The templates are PHP scripts with regular PHP constructs inside the.

The template is processed by the class using a require command.

The template parameters are class variables that are assigned by a class function. Template scripts use the template parameters using the $this pseudo-variable.

Picture of Patrick J. Mizer
Name: Patrick J. Mizer <contact>
Classes: 2 packages by
Country: United States United States
Age: 32
All time rank: 1262166 in United States United States
Week rank: 1819 Down216 in United States United States Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.tpl.php Example demo template file
Accessible without login Plain text file footer.tpl.php Example footer template
Accessible without login Plain text file header.tpl.php Example header template
Accessible without login Plain text file index.php Example Example usage
Plain text file SimpleTPL.class.php Class SimpleTPL Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:522All time:5,125
 This week:0This week:1,443Up