PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 369 All time: 6,825 This week: 455Up
Version License PHP version Categories
extensibletemplate 1.0GNU General Publi...5PHP 5, Templates


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.

Picture of Daniel Andres Marjos
  Performance   Level  
Name: Daniel Andres Marjos is available for providing paid consulting. Contact Daniel Andres Marjos .
Classes: 13 packages by
Country: Argentina Argentina
Age: 53
All time rank: 261 in Argentina Argentina
Week rank: 75 Down1 in Argentina Argentina Equal
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  
This week:0
All time:6,825
This week:455Up