Class ilLanguageDetectorFactory.
More...
◆ createDetectorByType()
ilLanguageDetectorFactory::createDetectorByType |
( |
|
$type | ) |
|
- Parameters
-
- Exceptions
-
- Returns
- ilLanguageDetector
Definition at line 70 of file class.ilLanguageDetectorFactory.php.
Referenced by getValidInstances().
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));
Class for language related exception handling in ILIAS.
Class ilDefaultLanguageDetector.
Class ilHttpRequestsLanguageDetector.
◆ getValidInstances()
ilLanguageDetectorFactory::getValidInstances |
( |
| ) |
|
◆ $client_ini
ilLanguageDetectorFactory::$client_ini |
|
protected |
◆ $request_information
ilLanguageDetectorFactory::$request_information = array() |
|
protected |
◆ $settings
ilLanguageDetectorFactory::$settings |
|
protected |
◆ DEFAULT_DETECTOR
const ilLanguageDetectorFactory::DEFAULT_DETECTOR = 1 |
◆ HTTP_REQUEST_DETECTOR
const ilLanguageDetectorFactory::HTTP_REQUEST_DETECTOR = 2 |
The documentation for this class was generated from the following file: