public function __construct() { parent::__construct(); $this->setHeader("Content-Type", "text/xml"); }