Getting started with XTemplate
The first thing to note about XTemplate is that the download (or CVS) version comes with a number of example files that document the main features of XTemplate. For reference, they are listed here.
Output: The output that is sent to the browser
PHP Source: Colour coded php code required to produce the Output
Template: HTML that, along with the php code produces the Output
Example 1: Basic template functions - simple replace / dynamic blocks
Output∞ PHP Source∞ Template∞
Example 2: Multiple level dynamic blocks
Output∞ PHP Source∞ Template∞
Example 3: Auto reset
Output∞ PHP Source∞ Template∞
Example 4: Recursive parsing
Output∞ PHP Source∞ Template∞
Example 5: Null strings
Output∞ PHP Source∞ Template∞
Example 6: Null blocks
Output∞ PHP Source∞ Template∞
Example 7: File includes
Output∞ PHP Source∞ Template∞ Template include 1∞ Template include 2∞ Template include German∞ Template include English∞
For reference, a colour coded version of XTemplate is also available:
XTemplate Class∞
There is also
phpdoc output∞ available.
CategoryXTemplateDocumentation
XTemplateDocumentation
There are 3 comments on this page. [Display comments]