/** * Update the whois information for the given contact person * * @param string $handle The handle of the contact to be changed * @param Whois $whois The new whois information for the given contact * @param mixed $type The of contact. This is used to access the right fields in the whois array * * @return bool */ public function updateContact($handle, $whois, $type = HANDLE_OWNER) { if (!$this->_checkLogin()) { return false; } $contact = $this->mapWhoisToContact($whois, $type); try { $this->odr->updateContact($handle, $contact); } catch (Api_Odr_Exception $e) { $this->Error[] = $e->getMessage(); return false; } return $this->_checkResult(true); }