header_html = null; $this->footer_html = null; if (trim($header_html) != "") { $this->header_html = "".trim($header_html).""; }; if (trim($footer_html) != "") { $this->footer_html = "".trim($footer_html).""; }; } function process(&$tree, $data, &$pipeline) { $parser = new ParserXHTML(); $null = null; if ($this->header_html) { $box =& $parser->process($this->header_html, $pipeline, $null); $tree->add_child($box); }; if ($this->footer_html) { $box =& $parser->process($this->footer_html, $pipeline, $null); $tree->add_child($box); }; } } ?>