API


Základné funkcie
require_once("ealibCore.php");

$ea = new ElbiaAdmin("login", "heslo");

$result = $ea->get_user_info();

print_r($result);
Služba webhosting
require_once("ealibWebhosting.php");

$eaw = new ElbiaAdminWebhosting("login", "heslo");

$result = $eaw->get_webhosting_domains(0, 0);

print_r($result);

$result = $eaw->get_email_accounts("elbiahosting", "sk", 0, 0);

print_r($result);

$result = $eaw->add_email_account("info", "elbiahosting", "sk", "dd", 0);

print_r($result);

$result = $eaw->change_email_account(1108, "ff", 0);

print_r($result);

$result = $eaw->remove_email_account(1108);

print_r($result);
Služba NIC
require_once("ealibNIC.php");

$ean = new ElbiaAdminNIC("login", "heslo");

$result = $ean->domain_info("elbia", "sk");

print_r($result);

$result = $ean->mass_domain_info(array("elbia", "test", "fegre"));

print_r($result);

$result = $ean->transfer_domain_request("elbia");

print_r($result);