3 declare(strict_types=1);
40 $this->client_ini = $DIC->clientIni();
41 $this->request_information =
$_SERVER;
54 if ($this->
settings->get(
"lang_detection") &&
56 array_key_exists(
'HTTP_ACCEPT_LANGUAGE', $this->request_information)
70 case self::HTTP_REQUEST_DETECTOR:
73 case self::DEFAULT_DETECTOR:
77 throw new ilLanguageException(__METHOD__ . sprintf(
"Cannot create language detector instance for type %s!", $type));
static usesHTTP()
Uses HTTP aka browser.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const HTTP_REQUEST_DETECTOR
array $request_information
createDetectorByType(int $type)