コード例 #1
0
ファイル: xml.php プロジェクト: universsky/lazybug-for-api
 /**
  * 构造函数
  *
  * @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);
 }
コード例 #2
0
ファイル: base.php プロジェクト: universsky/lazybug-for-api
 public function __construct()
 {
     parent::__construct();
     Util_Server_Response::set_header("Content-type", "text/xml");
     $this->dom = $this->get_dom();
 }