19declare(strict_types=1);
39 $this->client_ini =
$DIC->clientIni();
40 $this->request_information =
$_SERVER;
53 if ($this->
settings->get(
"lang_detection") &&
55 array_key_exists(
'HTTP_ACCEPT_LANGUAGE', $this->request_information)
76 throw new ilLanguageException(__METHOD__ . sprintf(
"Cannot create language detector instance for type %s!", $type));
static usesHTTP()
Uses HTTP aka browser.
Class ilDefaultLanguageDetector.
Class ilHttpRequestsLanguageDetector.
INIFile Parser Early access in init proceess! Avoid further dependencies like logging or other servic...
Class ilLanguageDetectorFactory.
const HTTP_REQUEST_DETECTOR
createDetectorByType(int $type)
array $request_information
Class for language related exception handling in ILIAS.