1 | <?php |
||
16 | class Config |
||
17 | { |
||
18 | /** |
||
19 | * @var EE_Network_Config |
||
20 | */ |
||
21 | private $network_config; |
||
22 | |||
23 | |||
24 | /** |
||
25 | * @var EE_Config |
||
26 | */ |
||
27 | private $ee_config; |
||
28 | |||
29 | |||
30 | |||
31 | public function __construct(EE_Network_Config $network_config, EE_Config $ee_config) |
||
36 | |||
37 | |||
38 | /** |
||
39 | * Get the site license key for the site. |
||
40 | */ |
||
41 | public function siteLicenseKey() |
||
45 | |||
46 | |||
47 | |||
48 | public function i18nDomain() |
||
52 | |||
53 | |||
54 | |||
55 | public function checkPeriod() |
||
59 | |||
60 | |||
61 | |||
62 | public function optionKey() |
||
66 | |||
67 | |||
68 | |||
69 | public function optionsPageSlug() |
||
73 | |||
74 | |||
75 | public function hostServerUrl() |
||
81 | |||
82 | |||
83 | public function pluginSlug() |
||
101 | |||
102 | |||
103 | /** |
||
104 | * Return whether the site is opted in for UXIP or not. |
||
105 | * @return bool |
||
106 | */ |
||
107 | public function isOptedInForUxip() |
||
111 | |||
112 | |||
113 | /** |
||
114 | * Return whether the site has been notified about UXIP or not. |
||
115 | * @return bool |
||
116 | */ |
||
117 | public function hasNotifiedForUxip() |
||
121 | |||
122 | |||
123 | /** |
||
124 | * Set the site opted in for UXIP. |
||
125 | */ |
||
126 | public function setHasOptedInForUxip() |
||
131 | |||
132 | |||
133 | /** |
||
134 | * Set the site opted out for UXIP |
||
135 | */ |
||
136 | public function setHasOptedOutForUxip() |
||
141 | |||
142 | |||
143 | |||
144 | public function setHasNotifiedAboutUxip() |
||
149 | } |
||
150 |