1 | <?php |
||
8 | class Helpers { |
||
9 | |||
10 | const API_URL = '/rest/v10/'; |
||
11 | |||
12 | const SDK_VERSION = '1.0'; |
||
13 | |||
14 | /** |
||
15 | * Given a sugarcrm server/instance generate the Rest/v10 API Url |
||
16 | * @param $instance |
||
17 | * @return string |
||
18 | */ |
||
19 | 1 | public static function configureAPIURL($instance){ |
|
28 | |||
29 | /** |
||
30 | * Return the current SDK Version |
||
31 | * @return string |
||
32 | */ |
||
33 | 1 | public static function getSDKVersion(){ |
|
36 | |||
37 | /** |
||
38 | * Return the list of EntryPoints that come with the SDK |
||
39 | * @return array |
||
40 | */ |
||
41 | 1 | public static function getSDKEntryPointRegistry(){ |
|
50 | |||
51 | } |