Login   Register  
PHP Classes
elePHPant
Icontem

IDtpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Valentin
Name: Valentin <e-mail contact>
Packages: 6 Browse all classes by Valentin Browse all classes by
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 25
All time rank: 184648 in Russian Federation Russian Federation
Week rank: 1095 Up31 in Russian Federation Russian Federation Up


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Valentin  >  IDtpl  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: IDtpl
Base name: idtpl
Description: Template engine based on PHP template scripts
Version: 1.4
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 265 users
All time rank: 6302
Week users: 1 user
Week rank: 2089 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Templates Template processing engines and components View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
Link Description
IceDice Portal IceDice portal based on this template engine
Add link image If you know an application of this package, send a message to the author to add a link here.
  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  /  Files folder image 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

Download all files: idtpl.tar.gz idtpl.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.