Exemplo n.º 1
0
 function createExtensionElement($ext, $command)
 {
     $this->extension = $this->createElement('extension');
     $this->body->appendChild($this->extension);
     $this->extension->payload = $this->createElementNS(Net_EPP_ObjectSpec::xmlns($ext), $ext . ':' . $command);
     $this->extension->appendChild($this->extension->payload);
 }
Exemplo n.º 2
0
 function setObject($object)
 {
     $type = strtolower(str_replace(__CLASS__ . '_', '', get_class($this)));
     foreach ($this->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));
 }
Exemplo n.º 3
0
Arquivo: Renew.php Projeto: roojs/pear
 function addObject($object)
 {
     $type = strtolower(str_replace(__CLASS__ . '_', '', get_class($this)));
     $this->payload->appendChild($this->createElementNS(Net_EPP_ObjectSpec::xmlns($type), $type . ':' . Net_EPP_ObjectSpec::id($type), $object));
 }
Exemplo n.º 4
0
 function createObjectPropertyElement($name)
 {
     return $this->createElementNS(Net_EPP_ObjectSpec::xmlns($this->type), $this->type . ':' . $name);
 }