payload->childNodes as $child) $this->payload->removeChild($child); $this->payload->appendChild($this->createElementNS( Net_EPP_ObjectSpec::xmlns($type), $type.':'.Net_EPP_ObjectSpec::id($type), $object )); } function setOp($op) { $this->command->setAttribute('op', $op); } function setAuthInfo($authInfo) { $el = $this->createObjectPropertyElement('authInfo'); $el->appendChild($this->createObjectPropertyElement('pw')); $el->firstChild->appendChild($this->createTextNode($authInfo)); $this->payload->appendChild($el); } } ?>