Ejemplo n.º 1
0
 /**
  * 构造函数
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->title_prefix || ($this->title_prefix = lb_read_system('title_prefix'));
     $this->title_suffix || ($this->title_suffix = lb_read_system('title_suffix'));
     $this->title = $this->title_prefix . $this->title . $this->title_suffix;
 }
Ejemplo n.º 2
0
 /**
  * 构造函数
  *
  * @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);
 }