Login   Register  
PHP Classes
elePHPant
Icontem

File: READ-ME.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Erick Anthony de Oliveira Carvalho  >  Simple Template System  >  READ-ME.txt  >  Download  
File: READ-ME.txt
Role: Documentation
Content type: text/plain
Description: Simple Tutorial
Class: Simple Template System
Template engine based on replacing text strings
Author: By
Last change:
Date: 2011-04-29 19:52
Size: 570 bytes
 

Contents

Class file image Download
// -- Simple Template System
// -- Powered by Erick-Master
// -- CTM TEAM Softwares
// -- www.ctmts.com.br
// -- erick-master@ctmts.com.br
// -- 29/04/2011
// -- READ-ME.txt

Programmed in PHP 5.

The system is simple.
For use, just deploy the template.class.php
Not has mystery.

To load the page file
$template->fread("DIRECTORY")

To set tag {TAG}
$template->set("NAME_OF_TAG", "VALUE_OF_TAG")
Example:
$template->set("SITE_NAME", "CTM TEAM")

In page:

{SITE_NAME} = CTM TEAM

Any questions, I can help.
Thanks, by use my Template Class ;D