Свойство | Type | Description | |
---|---|---|---|
$arrCache | array | Cache | |
$objInstance | Object instance (Singleton) | ||
$strSapi | string | The SAPI name |
Méthode | Description | |
---|---|---|
__clone ( ) | Prevent cloning of the object (Singleton) | |
__get ( string $strKey ) : string | Return an environment variable | |
__set ( string $strKey, mixed $varValue ) | Set an environment variable | |
get ( string $strKey ) : mixed | Return an environment variable | |
getInstance ( ) : |
Return the object instance (Singleton) | |
reset ( ) | Reset the internal cache | |
set ( string $strKey, mixed $varValue ) | Set an environment variable |
Méthode | Description | |
---|---|---|
__construct ( ) | Prevent direct instantiation (Singleton) | |
agent ( ) : object | Return the operating system and the browser name and version | |
base ( ) : string |
Return the URL and path that can be used in a |
|
documentRoot ( ) : string | Return the document root (e.g. /home/www/user/) | |
encodeRequestString ( string $strRequest ) : string | Encode a request string preserving certain reserved characters | |
host ( ) : string | Return the host name | |
httpAcceptEncoding ( ) : array | Return accepted encoding types as array | |
httpAcceptLanguage ( ) : array | Return the first eight accepted languages as array | |
httpHost ( ) : string | Return the HTTP Host | |
httpUserAgent ( ) : string | Return the user agent as string | |
httpXForwardedHost ( ) : string | Return the HTTP X-Forwarded-Host | |
indexFreeRequest ( ) : string | Return the request string without the index.php fragment | |
ip ( ) : string | Return the real REMOTE_ADDR even if a proxy server is used | |
isAjaxRequest ( ) : boolean | Return true on Ajax requests | |
path ( ) : string | Return the relative path to the base directory (e.g. /path) | |
phpSelf ( ) : string | Alias for scriptName() | |
queryString ( ) : string | Return the query string (e.g. id=2) | |
relativeRequest ( ) : string | Return the request string without the script name (e.g. en/news.html) | |
request ( ) : string | Return the relativ path to the script and include the request (e.g. index.php?id=2) | |
requestUri ( ) : string | Return the request URI [path]?[query] (e.g. /contao/index.php?id=2) | |
script ( ) : string | Return the relativ path to the script (e.g. index.php) | |
scriptFilename ( ) : string | Return the absolute path to the script (e.g. /home/www/html/website/index.php) | |
scriptName ( ) : string | Return the relative path to the script (e.g. /website/index.php) | |
server ( ) : string | Return the SERVER_ADDR | |
ssl ( ) : boolean | Return true if the current page was requested via an SSL connection | |
uri ( ) : string | Return the current URL with path or query string | |
url ( ) : string | Return the current URL without path or query string |
protected static documentRoot ( ) : string | ||
Résultat | string | The document root |
protected static encodeRequestString ( string $strRequest ) : string | ||
$strRequest | string | The request string |
Résultat | string | The encoded request string |
public static getInstance ( ) : |
||
Résultat | The object instance |
protected static httpAcceptEncoding ( ) : array | ||
Résultat | array | The encoding types array |
protected static httpAcceptLanguage ( ) : array | ||
Résultat | array | The languages array |
protected static httpUserAgent ( ) : string | ||
Résultat | string | The user agent string |
protected static httpXForwardedHost ( ) : string | ||
Résultat | string | The name of the X-Forwarded-Host |
protected static indexFreeRequest ( ) : string | ||
Résultat | string | The request string without the index.php fragment |
protected static isAjaxRequest ( ) : boolean | ||
Résultat | boolean | True if it is an Ajax request |
protected static queryString ( ) : string | ||
Résultat | string | The query string |
protected static relativeRequest ( ) : string | ||
Résultat | string | The base URL |
protected static requestUri ( ) : string | ||
Résultat | string | The request URI |
protected static scriptFilename ( ) : string | ||
Résultat | string | The absolute path to the script |
protected static scriptName ( ) : string | ||
Résultat | string | The relative path to the script |
protected static Environment,contao $objInstance | ||
Résultat |
protected static string $strSapi | ||
Résultat | string |