PHP Classes

Simple Template class: Template engine based on assigning PHP variables

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 473 All time: 5,972 This week: 357Up
Version License PHP version Categories
simple_templateclass 1.0GNU General Publi...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: 34
All time rank: 331756 in Ukraine Ukraine
Week rank: 563 Up10 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  
This week:0
All time:5,972
This week:357Up