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 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 436 This week: 1All time: 5,689 This week: 1,534Up
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: 234165 in Russian Federation Russian Federation
Week rank: 1164 Up33 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:436All time:5,689
 This week:1This week:1,534Up