PHP Classes

SimpleTPL: Template engine based on PHP execution

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 534 All 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

 

  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:534
This week:0
All time:5,629
This week:560Up