Свойство | Тип | Описание | |
---|---|---|---|
$arrCache | array | Cache | |
$objInstance | Object instance (Singleton) | ||
$strSapi | string | The SAPI name |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
__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 |
final public __clone ( ) |
protected static documentRoot ( ) : string | ||
Результат | string | The document root |
protected static encodeRequestString ( string $strRequest ) : string | ||
$strRequest | string | The request string |
Результат | string | The encoded request string |
public static getInstance ( ) : |
||
Результат | The object instance |
protected static httpAcceptEncoding ( ) : array | ||
Результат | array | The encoding types array |
protected static httpAcceptLanguage ( ) : array | ||
Результат | array | The languages array |
protected static httpUserAgent ( ) : string | ||
Результат | string | The user agent string |
protected static httpXForwardedHost ( ) : string | ||
Результат | string | The name of the X-Forwarded-Host |
protected static indexFreeRequest ( ) : string | ||
Результат | string | The request string without the index.php fragment |
protected static isAjaxRequest ( ) : boolean | ||
Результат | boolean | True if it is an Ajax request |
protected static queryString ( ) : string | ||
Результат | string | The query string |
protected static relativeRequest ( ) : string | ||
Результат | string | The base URL |
protected static requestUri ( ) : string | ||
Результат | string | The request URI |
protected static scriptFilename ( ) : string | ||
Результат | string | The absolute path to the script |
protected static scriptName ( ) : string | ||
Результат | string | The relative path to the script |
protected static Environment,contao $objInstance | ||
Результат |
protected static string $strSapi | ||
Результат | string |