Login   Register  
PHP Classes
elePHPant
Icontem

DirecTemplate: Template engine based on regular expressions

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 (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-15 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 707 All time: 4,283 This week: 1,420Up
Version License Categories  
directemplate 1.0GNU General Public Lice...Templates
Description Author  

This class implements a template engine that uses regular expressions to parse and process template place holder parameters.

It supports:

- Loops within template blocks iterating over multiple values of a template parameter
- Conditional template blocks
- Transform template parameters using template functions with the same names of built-in PHP functions
- Assigning parameter variables within the templates
- Displaying sets of data split in multiple pages
- Plug-ins to apply custom transformation functions
- Caching processed templates

Picture of Helmut Daschnigrum
Name: Helmut Daschnigrum <contact>
Classes: 6 packages by
Country: Canada Canada
Age: ???
All time rank: 1017 in Canada Canada
Week rank: 259 Down8 in Canada Canada Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageexample (2 files, 1 directory)
Plain text file class_Template.php Class Main class file
Accessible without login Plain text file LICENSE Lic. License terms
Accessible without login Plain text file plugin_countries.php Aux. Plugin for country/province lists
Accessible without login Plain text file plugin_pngtransparency.php Aux. PNG transparency plugin for IE PNG support
Accessible without login Plain text file README Doc. Documentation

  Files folder image Files  /  example  
File Role Description
Files folder imagetemplates (3 files)
  Accessible without login Plain text file example.php Example Example script
  Accessible without login Plain text file style.css Data Example script stylesheet

  Files folder image Files  /  example  /  templates  
File Role Description
  Accessible without login Plain text file footer.tpl Data Example script footer template
  Accessible without login Plain text file header.tpl Data Example script header template
  Accessible without login Plain text file order.tpl Data Example script order template

 Version Control Unique User Downloads Download Rankings  
 0%Total:707All time:4,283
 This week:0This week:1,420Up