Login   Register  
PHP Classes
elePHPant
Icontem

IDtpl: Template engine based on PHP template scripts

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 (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-04-05 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 269 All time: 6,737 This week: 1,896Up
Version License PHP version Categories  
idtpl 1.4GNU General Public Lice...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
Age: 26
All time rank: 193152 in Russian Federation Russian Federation
Week rank: 1114 Up32 in Russian Federation Russian Federation Up

  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:269All time:6,737
 This week:0This week:1,896Up