PHP Classes

SimpleTPL: Template engine based on PHP execution

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 534 This week: 1All time: 5,629 This week: 560Up
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: 42
All time rank: 1403207 in United States United States
Week rank: 416 Up46 in United States United States Up

  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:534
This week:1
All time:5,629
This week:560Up