Developer Center

EN

setConfig()

It is used to transmit the function parameters to the API side.
private function setConfig($username,$password,$sandbox){
    $this->config["settings"]["username"]   = $username;
    $this->config["settings"]["password"]   = $password;
    $this->config["settings"]["test-mode"]  = $sandbox;
    
    $this->api = new ExampleRegistrarModule_API($sandbox);
 
    $this->api->set_credentials($username,$password);
 } 
testConnection() questioning() - Domain Name Check

Do you have any questions?

We have a great team to answer your queries
Contact Us
Copyright © 2020. All rights reserved.
Join Our Discord Channel
Top