-
Notifications
You must be signed in to change notification settings - Fork 0
/
registrar_api.hook.inc
48 lines (41 loc) · 1.03 KB
/
registrar_api.hook.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* @file
* List of hooks to be implemented for each registrar.
* This file should not contain any implementation.
*/
/**
* Provide a form structure for registrar specific configuration.
*
* @return Form API array
*/
function hook_admin_form() {
}
/**
* Return an array containing some details about this registrar.
*/
function hook_get_registrar_info() {}
/**
* @see registrar_api_check_domains()
*/
function hook_check_domains($domain_list) {}
function hook_create_domain($domain_name, $years, $registrant, $tech, $admin, $auxbilling, $nameservers = NULL) {}
function hook_get_contacts($domain_name) {}
function hook_set_contacts($domain_name, $registrant, $tech, $admin, $auxbilling) {}
/**
* Returns an array of domains with the following structure:
*
* Array (
* [domaintest.com] => Array (
* [ID] => 1836
* [Name] => domain-name.com
* [User] => owner
* [Created] => 03/24/2009
* [Expires] => 03/24/2010
* [IsExpired] => false
* )
* )
*
*/
function hook_domains_getlist() {
}