PHP Classes

Simple Template class: Template engine based on assigning PHP variables

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 474 All time: 5,987 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

  Files folder image Files (3)  
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 (3)  /  templates  
File Role Description
  Accessible without login Plain text file show.tpl Data sample template

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:474
This week:0
All time:5,987
This week:560Up