示例#1
0
 protected function __construct(\domdocument $dom)
 {
     parent::__construct($dom);
     $this->_initialize();
 }
示例#2
0
 protected function __construct(\domdocument $doc)
 {
     parent::__construct($doc);
     $this->_document->formatOutput = true;
     $this->_document->encoding = 'utf-8';
 }