PHP Classes

Simplest Template: Template engine based on simple text replacing

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: 876 All time: 4,015 This week: 560Up
Version License Categories
simplest_template 1.0GNU General Publi...PHP 5, Templates
Description 

Author

This class implements a template engine based on simple text replacing.

It can read a template from a given file and replace specified placeholder marks by given text values.

It may also replace predefined placeholder marks for HTML page CSS file, page header, page body and page footer, by values assigned to specific class variables.

The processed template is returned a text string value.

Picture of Julien PACHET
Name: Julien PACHET <contact>
Classes: 15 packages by
Country: France France

  Files folder image Files (3)  
File Role Description
Plain text file class_template.inc.php Class class source
Accessible without login Plain text file index.php Example class use example
Accessible without login Plain text file template_a.html Data template example

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:876
This week:0
All time:4,015
This week:560Up