1 | <?php |
||
18 | class Config |
||
19 | { |
||
20 | /** |
||
21 | * @var EE_Network_Config |
||
22 | */ |
||
23 | private $network_config; |
||
24 | |||
25 | |||
26 | /** |
||
27 | * @var EE_Config |
||
28 | */ |
||
29 | private $ee_config; |
||
30 | |||
31 | |||
32 | |||
33 | public function __construct(EE_Network_Config $network_config, EE_Config $ee_config) |
||
38 | |||
39 | |||
40 | /** |
||
41 | * Get the site license key for the site. |
||
42 | */ |
||
43 | public function siteLicenseKey() |
||
47 | |||
48 | |||
49 | |||
50 | public function i18nDomain() |
||
54 | |||
55 | |||
56 | |||
57 | public function checkPeriod() |
||
61 | |||
62 | |||
63 | |||
64 | public function optionKey() |
||
68 | |||
69 | |||
70 | |||
71 | public function optionsPageSlug() |
||
75 | |||
76 | |||
77 | public function hostServerUrl() |
||
83 | |||
84 | |||
85 | public function pluginSlug() |
||
103 | |||
104 | |||
105 | /** |
||
106 | * Return whether the site is opted in for UXIP or not. |
||
107 | * @return bool |
||
108 | */ |
||
109 | public function isOptedInForUxip() |
||
113 | |||
114 | |||
115 | /** |
||
116 | * Return whether the site has been notified about UXIP or not. |
||
117 | * @return bool |
||
118 | */ |
||
119 | public function hasNotifiedForUxip() |
||
123 | |||
124 | |||
125 | /** |
||
126 | * Set the site opted in for UXIP. |
||
127 | */ |
||
128 | public function setHasOptedInForUxip() |
||
133 | |||
134 | |||
135 | /** |
||
136 | * Set the site opted out for UXIP |
||
137 | */ |
||
138 | public function setHasOptedOutForUxip() |
||
143 | |||
144 | |||
145 | |||
146 | public function setHasNotifiedAboutUxip() |
||
151 | } |
||
152 |