PHP Classes
elePHPant
Icontem

AbsTemplate: Template engine based PHP script templates

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-04-28 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,281 This week: 1All time: 2,895 This week: 1,047Up
Version License PHP version Categories
abs_template 1.0MIT/X Consortium ...5PHP 5, Cache, Templates
Description Author

This class implements a template engine based PHP script templates and variable replacement.

It can process template PHP scripts that are executed.

The class captures the template scripts output and replaces template variables by assigned values.

The resulting output can be cached in files to avoid template reprocessing overhead.

Picture of Costin Trifan
Name: Costin Trifan <contact>
Classes: 5 packages by
Country: Romania Romania

  Files folder image Files  
File Role Description
Files folder imagetemplates (6 files)
Files folder imagecache (1 file)
Accessible without login Plain text file class.AbsTemplate.php Class The base class
Plain text file example_new Example Example using the default templates' cache expiry time
Accessible without login Plain text file example_caching.php Example Caching example
Accessible without login Plain text file example_db.php Example Display data from database
Accessible without login Plain text file example_default.php Example How to use AbsTemplate. No caching.
Accessible without login Plain text file example_variables.php Example How to pass variables to templates.

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Plain text file content.php Appl. The content template file
  Accessible without login Plain text file footer.php Appl. The footer template file
  Accessible without login Plain text file header.php Appl. The header template file
  Accessible without login Plain text file show_data_db.php Appl. The database connection template file
  Accessible without login Plain text file show_variable.php Appl. The template file displaying a variable set in the parent file.
  Accessible without login Plain text file sidebar.php Appl. The sidebar template file

  Files folder image Files  /  cache  
File Role Description
  Plain text file info.txt Data The folder that stores the cached files

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,281
This week:1
All time:2,895
This week:1,047Up