Class Environment
Nette environment and configuration.
final public
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
|
|
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
SystemContainer|
|
|
public static
object
|
|
public static
object
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
#
loadConfig( string $file = NULL, string $section = NULL )
Loads global configuration from file and process it. |
public static
mixed
|
string |
DEVELOPMENT
|
'development' |
#
environment name |
string |
PRODUCTION
|
'production' |
#
environment name |
string |
CONSOLE
|
'console' |
#
environment name |