Class Environment
Nette environment and configuration.
final public
|
|
public static
|
|
public static
|
|
public static
|
|
public static
string
|
|
public static
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
|
|
public static
mixed
|
#
getVariable( string $name, mixed $default = NULL )
Returns the value of an environment variable or $default if there is no element set. |
public static
array
|
|
public static
string
|
|
public static
|
|
public static
object
|
|
public static
|
|
public static
object
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
#
loadConfig( string|
Loads global configuration from file and process it. |
public static
mixed
|
|
public static
|
|
public static
|
string
|
DEVELOPMENT
|
'development' |
#
environment name |
string
|
PRODUCTION
|
'production' |
|
string
|
CONSOLE
|
'console' |
|
string
|
LAB
|
'lab' |
|
string
|
DEBUG
|
'debug' |
#
mode name |
string
|
PERFORMANCE
|
'performance' |