+ // Compile it...
+ $templateInstance->compileTemplate();
+
+ // ... and all variables. This should be merged together in a pattern
+ // to make things easier. A cache mechanism should be added between
+ // these two calls to cache compiled templates.
+ $templateInstance->compileVariables();
+ die("<pre>".print_r($templateInstance, true)."</pre>");