PHP Classes

cTemplate: Template engine based on string replacement

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 54%Total: 311 All time: 7,316 This week: 455Up
Version License PHP version Categories
ctemplate 1.1BSD License5.2PHP 5, Templates
Description 

Author

This class is a template engine based on string replacement.

It can read a template from a string or a file and replace marks with names to which were assigned variable values.

The processed template is returned as a string.

Picture of Archzilon Eshun-Davies
  Performance   Level  
Name: Archzilon Eshun-Davies <contact>
Classes: 12 packages by
Country: Ghana Ghana
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
File Role Description
Plain text file cTemplate.php Class Main Class includes usage example
Accessible without login Plain text file dashboard.tpl Example Example Template file
Accessible without login Plain text file example.php Example Example script of how to use cTemplate.php

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:311
This week:0
All time:7,316
This week:455Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2120