Example #1
0
 public function __construct($text)
 {
     parent::__construct(xmlEnumeration::TYPE_COMMENT);
     $this->appendChild(new xmlTextNode($text));
 }
Example #2
0
 public function __construct($nodeName)
 {
     parent::__construct(xmlEnumeration::TYPE_ELEMENT, $nodeName);
 }
Example #3
0
 public function __construct($key, $value)
 {
     parent::__construct(xmlEnumeration::TYPE_ATTRIBUTE, $key);
     $this->_value = $value;
 }
Example #4
0
 public function __construct($text)
 {
     parent::__construct(xmlEnumeration::TYPE_TEXT);
     $this->_value = trim($text);
 }
 public function __construct()
 {
     parent::__construct(xmlEnumeration::TYPE_PROCESSING);
 }