Login   Register  
PHP Classes
elePHPant
Icontem

IS Layout: Template engine that replaces place holder values

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 (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-03-02 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 828 All time: 3,863 This week: 1,400Up
Version License Categories  
islayout 1.0Freely DistributableTemplates
Description Author  

This class is a template engine that searches for place holders tags using regular expressions and replaces them with input values.

The class can use templates defined specified files or takes the template text as an argument.

It can replace template place holder values in the whole template or partially in sections delimited in the template with special identifiers.

It can iterate over a given section to repeat it in the output but using different template input values on each iteration.

It may also include the output of one processed template as input value of another template to be processed.

To generate the final output the class removes all place holders that were not used.

Picture of Daniel Chaves
Name: Daniel Chaves <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 30
All time rank: 2362168 in Brazil Brazil
Week rank: 1803 Up139 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login HTML file example1.htm Data HTML of first example
Accessible without login Plain text file example1.php Example Example 1
Accessible without login Plain text file example2.php Example Example 2
Accessible without login Plain text file example3.1.php Example Example 3.1
Accessible without login Plain text file example3.2.php Example Example 3.2
Accessible without login Plain text file example3.php Example Example 3
Accessible without login Plain text file example4.php Example Example 4
Accessible without login Plain text file example5.php Example Example 5
Accessible without login HTML file example6.1.htm Data HTML included in example 6 and 6.1
Accessible without login Plain text file example6.1.php Example Example 6.1
Accessible without login HTML file example6.htm Data Html of example 6
Accessible without login Plain text file example6.php Example Example 6
Plain text file islayout.php Class The Class
Accessible without login Plain text file readme.txt Data Readme file

 Version Control Unique User Downloads Download Rankings  
 0%Total:828All time:3,863
 This week:0This week:1,400Up