Login   Register  
PHP Classes
elePHPant
Icontem

Class: AHM Template Engine

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of shahnur  >  AHM Template Engine  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: AHM Template Engine
Base name: ahm-template-engine
Description: Template engine that uses regular expressions
Related classes:
Version: 1.0
PHP version: 4.1
License: GNU General Public License (GPL)
All time users: 810 users
All time rank: 3438
Week users: 0 users
Week rank: 1677
Picture of shahnur
Author: shahnur <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Bangladesh Bangladesh - PHP jobs in Bangladesh
Age: ???
All time rank: 169024 in Bangladesh Bangladesh
Week rank: 2242 Down37 in Bangladesh Bangladesh Down


  Detailed description  
This class implements template engine that uses regular expressions to search and replace template placeholder.

It searches for placeholder tags that start and end with # character and have the placeholder name prefixed with $.

The class replaces placeholders by values previously assigned before processing the template.

It also supports iterating over sections when the template variable values are arrays with the different values that should be used to process repeatedly the same section.

 

  Groups  
Group folder image Templates Template processing engines and components View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
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
Plain text file test.tpl Example Test Template File
Plain text file test.php Example Test PHP File
Plain text file ahm.template.engine.php Class The Engine File

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