コード例 #1
0
ファイル: xmlComment.php プロジェクト: gotnospirit/php-dpat
 public function __construct($text)
 {
     parent::__construct(xmlEnumeration::TYPE_COMMENT);
     $this->appendChild(new xmlTextNode($text));
 }
コード例 #2
0
ファイル: xmlElement.php プロジェクト: gotnospirit/php-dpat
 public function __construct($nodeName)
 {
     parent::__construct(xmlEnumeration::TYPE_ELEMENT, $nodeName);
 }
コード例 #3
0
ファイル: xmlAttribute.php プロジェクト: gotnospirit/php-dpat
 public function __construct($key, $value)
 {
     parent::__construct(xmlEnumeration::TYPE_ATTRIBUTE, $key);
     $this->_value = $value;
 }
コード例 #4
0
ファイル: xmlTextNode.php プロジェクト: gotnospirit/php-dpat
 public function __construct($text)
 {
     parent::__construct(xmlEnumeration::TYPE_TEXT);
     $this->_value = trim($text);
 }
コード例 #5
0
 public function __construct()
 {
     parent::__construct(xmlEnumeration::TYPE_PROCESSING);
 }