Developer Center

isInactive() - Domain Name Inactive Control

It is used to check whether the domain name is passive or not.

public function isInactive($params=[]){
    $domain     = idn_to_ascii($params["domain"],0,INTL_IDNA_VARIANT_UTS46);

    $details    = $this->api->get_details($domain);
    if(!$details){
        $this->error = $this->api->error;
        return false;
    }
    return $details["status"] !== "active" ? true : false;
}

Parameters;

  • $params Provides the value of [options] index in the $order variable in the class.

Retrieval Value;

In Boolean, restore "true" if the domain name is passive and "false" if not.

ModifyTransferLock() - Transfer Lock Update suspend() , unsuspend() , terminate()

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top