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
__set
Contao\Environment::__set PHP Method
Environment Class Documentation
Show file
Open project: contao/core-bundle
__set()
public
method
Set an environment variable
Deprecation:
Deprecated since Contao 4.0, to be removed in Contao 5.0. Use Environment::set() instead.
public
__set
(
string
$strKey
,
mixed
$varValue
)
$strKey
string
The variable name
$varValue
mixed
The variable value
public function __set($strKey, $varValue) { static::set($strKey, $varValue); }
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