PHP Classes
elePHPant
Icontem

Extensible Template: Template engine extensible using sub-classes

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-07-29 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 366 All time: 6,570 This week: 781Up
Version License PHP version Categories
extensibletemplate 1.0GNU General Publi...5PHP 5, Templates
Description Author

This class implements a template processing engine.

It find and process tags in a template in the form of <tpl:TAG param1="value1" param2="value2" ...> block </tpl:TAG> or as in the contracted form <tpl:TAG param1="value1" param2="value2" ... />.

Each tag found is processed by calling functions of the class. Therefore, the template engine can be extended by a sub-class that implements new types of tags.

Currently the base class implements tags for replacing variables, iterating over loop blocks, generating HTML select, radio and checkbox tags, and including external template blocks.

  Performance   Level  
Name: Daniel Andres Marjos <contact>
Classes: 13 packages by
Country: Argentina Argentina
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagedoc (2 files)
Files folder imageplugins (1 file)
Plain text file extensibletemplate.php Class Main file
Accessible without login Plain text file extensibletemplate.txt Doc. Documentation
Plain text file exttpl_block.api.php Class Prototype for creating plugins
Plain text file exttpl_function.api.php Class Prototype for creating plugins
Plain text file exttpl_simple.api.php Class Prototype for creating plugins

  Files folder image Files  /  doc  
File Role Description
  Accessible without login Plain text file bltag_recordset.txt Doc. Sample plugin documentation
  Accessible without login Plain text file Plugins.txt Doc. Plugin system documentation

  Files folder image Files  /  plugins  
File Role Description
  Plain text file bltag_recordset.php Class a sample tag plugin

 Version Control Unique User Downloads Download Rankings  
 0%
Total:366
This week:0
All time:6,570
This week:781Up