32 public function __construct()
40 $this->client_ini = $ilClientIniFile;
41 $this->request_information =
$_SERVER;
55 $this->
settings->get(
'lang_detection') &&
74 case self::HTTP_REQUEST_DETECTOR:
75 require_once
'Services/Language/classes/class.ilHttpRequestsLanguageDetector.php';
78 case self::DEFAULT_DETECTOR:
79 require_once
'Services/Language/classes/class.ilDefaultLanguageDetector.php';
83 require_once
'Services/Language/exceptions/class.ilLanguageException.php';
84 throw new ilLanguageException(__METHOD__ . sprintf(
'Cannot create language detector instance for type %s!', $type));
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
static usesHTTP()
Uses HTTP aka browser.
Class ilLanguageDetectorFactory.
Class for language related exception handling in ILIAS.
Class ilDefaultLanguageDetector.
Class ilHttpRequestsLanguageDetector.
createDetectorByType($type)
Create styles array
The data for the language used.
const HTTP_REQUEST_DETECTOR