Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$protocol

$protocol : 

Type

$ip

$ip : 

Type

$ip_anonymized

$ip_anonymized : 

Type

$useragent

$useragent : 

Type

$request

$request : 

Type

$request_page

$request_page : 

Type

$request_query

$request_query : 

Type

$ssl

$ssl : 

Type

$current_page

$current_page : 

Type

$server_name

$server_name : 

Type

$server_path

$server_path : 

Type

$httpHost

$httpHost : 

Type

$phpself

$phpself : 

Type

$link

$link : 

Type

$agent

$agent : 

Type

$path

$path : 

Type

$is_ajax

$is_ajax : 

Type

$referer

$referer : 

Type

$arrOS

$arrOS : 

By Contao CMS

Operating systems (check Windows CE before Windows and Android before Linux!)

Type

$arrBrowser

$arrBrowser : 

By Contao CMS

Browsers (check OmniWeb and Silk before Safari and Opera Mini/Mobi before Opera!)

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

__construct()

__construct() 

get_current_page()

get_current_page(  $blnWithQuery = true) 

Parameters

$blnWithQuery

buildlink()

buildlink(  $blnWithServerpath = true) 

Parameters

$blnWithServerpath

path()

path() 

is_ajax()

is_ajax() 

get_referer()

get_referer() 

agent()

agent() 

on_iis()

on_iis() : boolean

Checks if Operating System is Windows IIS

Returns

boolean

get_operating_system()

get_operating_system() : mixed

Returns String for Operating System

Returns

mixed

is_bot()

is_bot(string  $strUseragent) : \Ambigous

Checks if Useragent is Bot. If yes, returns the Botname. Returns false if not a Bot.

Parameters

string $strUseragent

Returns

\Ambigous — |boolean

server_to_rootpath()

server_to_rootpath(  $strPath) 

Parameters

$strPath

root_to_serverpath()

root_to_serverpath(  $strPath) 

Parameters

$strPath

get_protocol()

get_protocol() 

get_document_root()

get_document_root(  $blnWithServerPath = true,   $blnPathToEQdkpRoot = false) 

Returns the document root e.g. C:/xampp/htdocs/ $blnWithServerPath = true: Path to current script, e.g. C:/xampp/htdocs/eqdkp/core/admin/ $blnPathToEQdkpRoot = true ($blnWithServerPath must also be true): path to eqdkp root: e.g. C:/xampp/htdocs/eqdkp/core/

Parameters

$blnWithServerPath
$blnPathToEQdkpRoot

is_ssl()

is_ssl() 

httpHost()

httpHost() 

get_ipaddress()

get_ipaddress() 

get_anonymized_ipaddress()

get_anonymized_ipaddress() 

get_useragent()

get_useragent() 

get_request()

get_request() 

get_request_page()

get_request_page() 

get_request_query()

get_request_query() 

get_eqdkp_request_page()

get_eqdkp_request_page() 

clean_request()

clean_request(  $strRequest) 

Parameters

$strRequest

get_server_path()

get_server_path() 

get_server_name()

get_server_name() 

get_phpself()

get_phpself()