__construct() 공개 메소드

Constructor.
public __construct ( $tagName )
예제 #1
0
 /**
  * Constructor.
  * @param string version of this XML document
  * @param string encoding of this XML document
  */
 public function __construct($version = '1.0', $encoding = '')
 {
     parent::__construct('');
     $this->setVersion($version);
     $this->setEncoding($encoding);
 }