add_header("Content-type: text/xml; charset=utf-8"); $this->add_header("Cache-control: no-cache"); $this->add_header("Content-location: export.xml"); $this->add("\n"); } public function output() { $this->add_header("Content-Length: ".strlen(trim($this->s_content))); foreach($this->a_headers as $s_header) { header($s_header); } echo trim($this->s_content); } public function small_p($sText) { } public function table($aConfig, $aData, $aParams = array()) { } } ?>