vlibTemplate: Tutorial, quick reference, function list and documentation


Authors: Kelvin Jones, Stefan Deußen and Claus van Beek

Overview (german): Broken link.

vlibTemplate (german): Tutorial und Beispiele für "vlibTemplate"
vlibTemplate (english): This document.


vlibTemplate

vLib Logo

Table of Contents
1. Synopsis / Getting started
2. Description
3. Motivation
4. Introduction and tutorial
4.1. Simple example with two variables
4.2. TMPL_IF
4.3. Simple LOOP
4.4. Modular programming with TMPL_INCLUDE
5. The Tags
5.1. TMPL_VAR name='VARNAME'
5.2. TMPL_LOOP name='LOOP_NAME'
5.3. TMPL_INCLUDE name='filename.html'
5.4. TMPL_PHPINCLUDE name='filename.html'
5.5. TMPL_[ELSE]IF name='BOOL'
5.6. TMPL_ELSE
5.7. TMPL_UNLESS name='BOOL'
6. vlibTemplate
6.1. vlibTemplate()
6.2. newTemplate()
6.3. setVar()
6.4. unsetVar()
6.5. getVars()
6.6. getVar()
6.7. setContextVars()
6.8. setLoop()
6.9. setDbLoop()
6.10. newLoop()
6.11. addRow()
6.12. addLoop()
6.13. getLoop()
6.14. unsetLoop()
6.15. reset()
6.16. clearVars()
6.17. clearLoops()
6.18. clearAll()
6.19. unknownsExist()
6.20. unknowns()
6.21. getUnknowns()
6.22. setUnknowns()
6.23. setPath()
6.24. getParseTime()
6.25. fastPrint()
6.26. pparse()
6.27. pprint()
6.28. grab()
7. vlibTemplateDebug
8. vlibTemplateCache
8.1. clearCache()
8.2. recache()
8.3. setCacheLifeTime()
8.4. setCacheExtension()
9. Options
10. Security
11. Bugs
12. Credits
13. Download
14. License
15. Documentation in other lanuages