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: 474 This week: 1All time: 5,984 This week: 560Up
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: 35
All time rank: 333455 in Ukraine Ukraine
Week rank: 411 Up8 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:474
This week:1
All time:5,984
This week:560Up