diff --git a/modules/registrars/cozaepp/cozaepp.php b/modules/registrars/cozaepp/cozaepp.php index 5acb2f679cedc199daa81dce85cd21f76be15f0b..e1df03f3ceb6517069b9583ffc7f8693f41f052d 100644 --- a/modules/registrars/cozaepp/cozaepp.php +++ b/modules/registrars/cozaepp/cozaepp.php @@ -275,12 +275,16 @@ function cozaepp_GetRegistrarLock($params) { return $lockstatus; } + + # NOT IMPLEMENTED function cozaepp_SaveRegistrarLock($params) { $values["error"] = "SaveRegistrarLock: Current co.za policy does not allow for the addition of client-side statuses on domains."; return $values; } + + # Function to retrieve an available contact id function _cozaepp_CheckContact($domain) { $prehash = $domain . time() . rand(0, 1000000); @@ -351,6 +355,8 @@ function _cozaepp_CheckContact($domain) { } + + # Function to register domain function cozaepp_RegisterDomain($params) { # Grab varaibles @@ -900,6 +906,8 @@ function _getContactDetails($domain, $client = null) { } } + + # Function to grab contact details function cozaepp_GetContactDetails($params) { # Grab variables @@ -934,6 +942,9 @@ function cozaepp_GetContactDetails($params) { return $values; } + + + /** * Catching all the different variations of params as encountered by clients * This has only been reported to have occured in WHMCS 5.2 and 5.3.7 @@ -1010,6 +1021,8 @@ function _getContactDetailsFromParams($params) { return $results; } + + # Function to save contact details function cozaepp_SaveContactDetails($params) { # Grab variables @@ -1329,6 +1342,7 @@ function cozaepp_DeleteNameserver($params) { } + # Function to return meaningful message from response code function _cozaepp_message($code) { @@ -1337,6 +1351,7 @@ function _cozaepp_message($code) { } + # Ack a POLL message function _cozaepp_ackpoll($client,$msgid) { # Ack poll message @@ -1362,6 +1377,8 @@ function _cozaepp_ackpoll($client,$msgid) { } } + + # Helper function to centrally provide data and information about different SLDs. function _cozaepp_SldLookup($domain) { # TLD server data provided by ZACR @@ -1402,6 +1419,8 @@ function _cozaepp_SldLookup($domain) { } } + + # Function to create internal COZA EPP request function _cozaepp_Client($domain=null) { # Setup include dir @@ -1468,6 +1487,8 @@ function _cozaepp_Client($domain=null) { return $client; } + + function cozaepp_TransferSync($params) { $domainid = $params['domainid']; $domain = $params['domain']; @@ -1545,6 +1566,8 @@ function cozaepp_TransferSync($params) { return $values; } + + function cozaepp_RecreateContact($params) { # Grab variables $tld = $params["tld"]; @@ -1652,6 +1675,8 @@ function cozaepp_RecreateContact($params) { return $values; } + + function cozaepp_Sync($params) { $domainid = $params['domainid']; $domain = $params['domain']; @@ -1755,6 +1780,7 @@ function cozaepp_Sync($params) { } + function cozaepp_RequestDelete($params) { $sld = $params['sld']; $tld = $params['tld']; @@ -1802,6 +1828,8 @@ function cozaepp_RequestDelete($params) { return $values; } + + function cozaepp_ApproveTransfer($params) { $sld = $params['sld']; $tld = $params['tld']; @@ -1849,6 +1877,7 @@ function cozaepp_ApproveTransfer($params) { } + function cozaepp_CancelTransferRequest($params) { $sld = $params['sld']; $tld = $params['tld']; @@ -1896,6 +1925,7 @@ function cozaepp_CancelTransferRequest($params) { } + function cozaepp_RejectTransfer($params) { $sld = $params['sld']; $tld = $params['tld'];