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
|
|
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
environment name |
# 'development' |
string |
PRODUCTION
environment name |
# 'production' |
string |
CONSOLE
environment name |
# 'console' |