/** * 构造函数 * * @access public */ public function __construct($version = '1.0', $charset = 'utf-8') { parent::__construct(); Util_Server_Response::set_header("Content-type", "text/xml"); $this->dom = new DomDocument($version, $charset); }
public function __construct() { parent::__construct(); Util_Server_Response::set_header("Content-type", "text/xml"); $this->dom = $this->get_dom(); }