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