PHP Classes
elePHPant
Icontem

IDtpl: Template engine based on PHP template scripts

Recommend this page to a friend!
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-04-05 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 276 All time: 7,185 This week: 867Up
Version License PHP version Categories
idtpl 1.4GNU General Publi...5.0PHP 5, Templates
Description Author

This class implements a template engine based on PHP template scripts.

It assigns template variables that are stored in an array class variable.

The class processes a template by including it as PHP code that can access the template variables by accessing the entries of an array named $d.

The class captures the output of the included template file and can return it as a string or displayed as the current script output.

New version allows template_in_template calls.

Picture of Valentin
Name: Valentin <contact>
Classes: 6 packages by
Country: Russian Federation Russian Federation

  Files folder image Files  
File Role Description
Files folder imagetemplates (6 files)
Plain text file idtpl.class.php Class template class itself
Accessible without login Plain text file example1.php Example example script (1)
Accessible without login Plain text file example2.php Example example script (2)
Accessible without login Plain text file example3.php Example example script (3) shows how you can send e-mail with templates
Accessible without login Plain text file example4.php Example example script (4) shows how you can use template_in_template calls

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Plain text file tpl_in_tpl.tpl Data template
  Accessible without login Plain text file mail_headers.tpl Data template
  Accessible without login Plain text file mail_template.tpl Data template
  Accessible without login Plain text file header.tpl Data template
  Accessible without login Plain text file content.tpl Data template
  Accessible without login Plain text file footer.tpl Data template

 Version Control Unique User Downloads Download Rankings  
 0%
Total:276
This week:0
All time:7,185
This week:867Up