Simple Template Engine Code
Brought to you by:
zythar
| File | Date | Author | Commit |
|---|---|---|---|
| libs | 2009-11-22 | zythar | [r4] |
| README | 2009-11-22 | zythar | [r3] |
Copy libs folder to your site parent folder, set up full path to Template.class.php and full path to templates dir. Include libs/Template.class.php. Set up your vars using method set(mixed varName, mixed varValue) then load your template using method load(mixed templateName). Method's which name begins with "__" are internal methods, not needed by user.