<?
//Example 2 - Recursively Insert
require('../class.DevTemplate.php');
$template=new DevTemplate();
//example of simple usage with only one template file and any number of "inserts".
//minor_template and morph_tag parameters ignored !
$template->express("_page1.html","","",array("hello=HELLO <!--insert:world-->","world=WORLD"));
//the word "WORLD" is recursively inserted.
?>
|