1: <?php
2:
3: /**
4: * This class holds the settings for the TransIP API.
5: *
6: * @package Transip
7: * @class ApiSettings
8: * @author TransIP (support@transip.nl)
9: */
10: class Transip_ApiSettings
11: {
12: /**
13: * The mode in which the API operates, can be either:
14: * readonly
15: * readwrite
16: *
17: * In readonly mode, no modifying functions can be called.
18: * To make persistent changes, readwrite mode should be enabled.
19: */
20: public static $mode = 'readwrite';
21:
22: /**
23: * TransIP API endpoint to connect to.
24: *
25: * e.g.:
26: *
27: * 'api.transip.nl'
28: * 'api.transip.be'
29: * 'api.transip.eu'
30: */
31: public static $endpoint = 'api.transip.eu';
32:
33: /**
34: * Your login name on the TransIP website.
35: *
36: */
37: public static $login = '';
38:
39: /**
40: * One of your private keys; these can be requested via your Controlpanel
41: */
42: public static $privateKey = '';
43: }