@@ 96-104 (lines=9) @@ | ||
93 | /** |
|
94 | * @return string |
|
95 | */ |
|
96 | public function getDefaultLocale() |
|
97 | { |
|
98 | $host = $this->getHost(); |
|
99 | if (isset($this->hosts[$host]['default_locale'])) { |
|
100 | return $this->hosts[$host]['default_locale']; |
|
101 | } |
|
102 | ||
103 | return parent::getDefaultLocale(); |
|
104 | } |
|
105 | ||
106 | /** |
|
107 | * @param string|null $host |
|
@@ 193-202 (lines=10) @@ | ||
190 | /** |
|
191 | * Return (optional) extra config settings for the current host |
|
192 | */ |
|
193 | public function getExtraData() |
|
194 | { |
|
195 | $host = $this->getHost(); |
|
196 | ||
197 | if (!isset($this->hosts[$host]['extra'])) { |
|
198 | return parent::getExtraData(); |
|
199 | } |
|
200 | ||
201 | return $this->hosts[$host]['extra']; |
|
202 | } |
|
203 | ||
204 | /** |
|
205 | * Return (optional) extra config settings for the locales for the current host |
|
@@ 207-216 (lines=10) @@ | ||
204 | /** |
|
205 | * Return (optional) extra config settings for the locales for the current host |
|
206 | */ |
|
207 | public function getLocalesExtraData() |
|
208 | { |
|
209 | $host = $this->getHost(); |
|
210 | ||
211 | if (!isset($this->hosts[$host]['locales_extra'])) { |
|
212 | return parent::getLocalesExtraData(); |
|
213 | } |
|
214 | ||
215 | return $this->hosts[$host]['locales_extra']; |
|
216 | } |
|
217 | ||
218 | /** |
|
219 | * @return bool |