//
// Description
// Perform substitution on the template. We do not really recurse
// downward in the sense that we do not do subsitutions on inferior
// templates. For each inferior template which is a part of this
// template, we insert the current value of their results.
//
// Notes
// Do I want to make this return a reference?
function subst ($handle, $tag, $autoload = true) {
$append = false;
$debug = $this->DEBUGALL || $this->DEBUG['subst'];
$this->LAST = $handle;
if ($debug)
$this->logwrite ("subst (handle=$handle, tag=$tag, autoload=$autoload)");
// For compatibility with FastTemplate, the results need to overwrite
// for an array. This really only seems to be useful in the case of
// something like
// &n
| 对此文章发表了评论 |
