Login   Register  
PHP Classes
elePHPant
Icontem

Simple Template class: Template engine based on assigning PHP variables

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  
2009-03-09 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 458 All time: 5,486 This week: 1,469Up
Version License PHP version Categories  
simple_templateclass 1.0GNU General Public Lice...4.0Templates
Description Author  

This class implements a template engine based on assigning PHP variables.

The template parameter values are assigned to class variables.

The class includes a template file to be executed as a regular PHP script.

The template script file can use the parameter values by accessing the class variables using the $this object.

Picture of Vladislav Litovka
Name: Vladislav Litovka <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 25
All time rank: 300055 in Ukraine Ukraine
Week rank: 1826 Up33 in Ukraine Ukraine Up

  Files folder image Files  
File Role Description
Files folder imagetemplates (1 file)
Plain text file class.template.php Class class
Accessible without login Plain text file example.php Example example

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Plain text file show.tpl Data sample template

 Version Control Unique User Downloads Download Rankings  
 0%Total:458All time:5,486
 This week:0This week:1,469Up