@@ -32,6 +32,9 @@ discard block |
||
32 | 32 | $this->log = new Log('class.namecheap'); |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $command |
|
37 | + */ |
|
35 | 38 | public function getApiUrl($api_key, $command, $domain, $account_username, $api_ip_address, $page_number) |
36 | 39 | { |
37 | 40 | $base_url = 'https://api.namecheap.com/xml.response?&ApiUser=' . $account_username . '&ApiKey=' . $api_key . '&UserName=' . $account_username; |
@@ -46,6 +49,9 @@ discard block |
||
46 | 49 | } |
47 | 50 | } |
48 | 51 | |
52 | + /** |
|
53 | + * @param string $full_url |
|
54 | + */ |
|
49 | 55 | public function apiCall($full_url) |
50 | 56 | { |
51 | 57 | $handle = curl_init($full_url); |