ModifyWhois() - Whois Güncelleme
Alan adının whois bilgilerini güncellemek için kullanılır, eğer desteklenmiyorsa hata iletisi döndürülür.
public function ModifyWhois($params=[],$whois=[]){
$domain = idn_to_ascii($params["domain"],0,INTL_IDNA_VARIANT_UTS46);
$modify = $this->api->modify_contact($domain,$whois);
if(!$modify){
$this->error = $this->api->error;
return false;
}
return true;
}
Parametreler;
- $params Sınıf içerisindeki $order değişkeninde bulunan [options] indisinin değerini vermektedir.
- $whois Whois bilgileri, örnek:
Array ( [Name] => John Doe [FirstName] => John [LastName] => Doe [Company] => WISECP [AddressLine1] => sample sample test sample test [AddressLine2] => test test [ZipCode] => 0000 [State] => NY [City] => New York [Country] => US [PhoneCountryCode] => 1 [Phone] => 2025550103 [FaxCountryCode] => 1 [Fax] => 2025550103 [EMail] => [email protected] )
Geri Dönüş Değeri;
Boolean (true veya false) dönmelidir.