Login   Register  
PHP Classes
elePHPant
Icontem

Templates class: Template engine that replaces variable marks

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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-03-22 (7 months ago) RSS 2.0 feedNot enough user ratingsTotal: 433 All time: 5,686 This week: 1,529Up
Version License PHP version Categories  
templates-class 1.0Free For Educational Use5PHP 5, Templates
Description Author  

This class implements a template engine that replaces variable marks.

It can load a template file from a given directory and process it by replacing given template variable marks by the respective variable values.

The class returns the processed template output as a string.

Picture of Vladimir
Name: Vladimir <contact>
Classes: 2 packages by
Country: Russian Federation Russian Federation
Age: 28
All time rank: 233765 in Russian Federation Russian Federation
Week rank: 1776 Up52 in Russian Federation Russian Federation Up

  Files folder image Files  
File Role Description
Files folder imagelib (1 file)
Files folder imagetemplates (1 directory)
Accessible without login Plain text file index.php Output example

  Files folder image Files  /  lib  
File Role Description
  Plain text file tpl.class.php Class class

  Files folder image Files  /  templates  
File Role Description
Files folder imageclass (1 file)

  Files folder image Files  /  templates  /  class  
File Role Description
  Accessible without login Plain text file exp.tpl Data templates

 Version Control Unique User Downloads Download Rankings  
 0%Total:433All time:5,686
 This week:0This week:1,529Up