PHP Classes

Pine template: Template engine that replaces tags in files

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
StarStarStar 56%Total: 397 All time: 6,598 This week: 560Up
Version License PHP version Categories
pine_template 1.1GNU Lesser Genera...5.0Templates
Description 

Author

This class implements a template processing engine.

It reads templates from files with special marks that start by { and end in } .

The class takes as argument an associative array with all template variables.

It traverses the template file data to replace all occurrences of the template variables by the respective values.

Picture of András Zoltán-Gyárfás
Name: András Zoltán-Gyárfás is available for providing paid consulting. Contact András Zoltán-Gyárfás .
Classes: 7 packages by
Country: Romania Romania
Age: 44
All time rank: 184441 in Romania Romania
Week rank: 180 Up4 in Romania Romania Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file template.lib.php Class Main script
Plain text file content.tpl Data template file
Plain text file example.php Example Example and documentation
Plain text file exemple1.php Example More complex exemple
Plain text file index.tpl Data template file

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:397
This week:0
All time:6,598
This week:560Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1760