Login   Register  
PHP Classes
elePHPant
Icontem

Tamplate: Template engine that replaces variables with text

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-12-17 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 333 All time: 6,387 This week: 1,529Up
Version License PHP version Categories  
tamplate 0.9BSD License5.0PHP 5, Templates
Description Author  

This class implements a template engine that replaces variables with text.

It can read and parse a given template file to replace marks with text values from variable values. The variable values may also be passed as arrays.

The processed template may be returned as a string or displayed as the current script output.

Picture of Luke Szanto
Name: Luke Szanto <contact>
Classes: 2 packages by
Country: Australia Australia
Age: ???
All time rank: 144121 in Australia Australia
Week rank: 820 Up9 in Australia Australia Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example An example of the usage of Tamplate
Accessible without login Plain text file page.tpl Data An example of a simple template
Plain text file Tamplate Class The class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:333All time:6,387
 This week:0This week:1,529Up
 User Comments (1)