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