templater: Template engine that replaces marks and sections

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 251 All time: 7,783 This week: 252Up
Version License PHP version Categories
templater 1.0GNU General Publi...5.3PHP 5, Templates
Description Author

This class is a template engine that replaces marks and sections.

It can read a template from a file and replaces marks with given variable values.

It can also iterate over sections marked with {for} and {endfor} constructs iterating array variables.

Picture of Dmitro
  Performance   Level  
Name: Dmitro <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 36
All time rank: 389470 in Ukraine Ukraine
Week rank: 618 Up14 in Ukraine Ukraine Up

  Files folder image Files  
File Role Description
Files folder imagetemplate (4 files)
Plain text file index.php Example example
Plain text file templater.php Class class

  Files folder image Files  /  template  
File Role Description
  Plain text file head.tpl.html Data head
  Plain text file index.tpl.html Data template
  Plain text file left.tpl.html Data left
  Plain text file top.tpl.html Data top

 Version Control Unique User Downloads Download Rankings  
 0%
Total:251
This week:0
All time:7,783
This week:252Up
User Comments (1)
This is a very good and useful class ;-) But the PHP had a go...
5 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar
 

For more information send a message to info at phpclasses dot org.