Esempio n. 1
0
 /**
  * DNS PTR Update() method requires a server
  */
 public function update($params = array())
 {
     $this->populate($params);
     $this->link_rel = $this->server->getService()->Name();
     $this->link_href = $this->server->Url();
     return parent::update();
 }
 public function update($params = array())
 {
     $this->populateRecord($params);
     $this->link_rel = $this->getDeviceParent()->getService()->getName();
     $this->link_href = (string) $this->getDeviceParent()->getUrl();
     return parent::update();
 }