Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Contao
Environment
base
Contao\Environment::base PHP Method
Environment Class Documentation
Show file
Open project: contao/core-bundle
base()
protected
static
method
Return the URL and path that can be used in a
tag
protected
static
base
( ) :
string
return
string
The base URL
protected static function base() { return static::get('url') . static::get('path') . '/'; }
Environment
__clone
__construct
__get
__set
agent
base
documentRoot
encodeRequestString
get
getInstance
host
httpAcceptEncoding
httpAcceptLanguage
httpHost
httpUserAgent
httpXForwardedHost
indexFreeRequest
ip
isAjaxRequest
path
phpSelf
queryString
relativeRequest
request
requestUri
reset
script
scriptFilename
scriptName
server
set
ssl
uri
url