public
bool
|
#
detect(
string
$name
)
Detect environment mode. Detect environment mode. Parameters$name string mode name |
public
NConfig
|
#
loadConfig(
string|NConfig
$file
)
Loads global configuration from file and process it. Loads global configuration from file and process it. Parameters$file string|NConfig file name or Config object |
public
IContext
|
#
createContext(
)
Get initial instance of context. Get initial instance of context. |
public static
NApplication
|
#
createApplication(
array
$options = NULL
)
|
public static
NHttpRequest
|
#
createHttpRequest(
)
|
public static
ICacheStorage
|
#
createCacheStorage(
)
|
public static
ICacheJournal
|
#
createCacheJournal(
)
|
public static
IMailer
|
#
createMailer(
array
$options = NULL
)
|
public static
NRobotLoader
|
#
createRobotLoader(
array
$options = NULL
)
|
Methods Inherited From NObject
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
string
|
$defaultConfigFile | '%appDir%/config.neon' |
# |
array
|
$defaultServices | array ( 'Nette\\Application\\Application' => array ( 0 => 'NConfigurator', 1 => 'createApplication', ), 'Nette\\Web\\HttpContext' => 'NHttpContext', 'Nette\\Web\\IHttpRequest' => array ( 0 => 'NConfigurator', 1 => 'createHttpRequest', ), 'Nette\\Web\\IHttpResponse' => 'NHttpResponse', 'Nette\\Web\\IUser' => 'NUser', 'Nette\\Caching\\ICacheStorage' => array ( 0 => 'NConfigurator', 1 => 'createCacheStorage', ), 'Nette\\Caching\\ICacheJournal' => array ( 0 => 'NConfigurator', 1 => 'createCacheJournal', ), 'Nette\\Mail\\IMailer' => array ( 0 => 'NConfigurator', 1 => 'createMailer', ), 'Nette\\Web\\Session' => 'NSession', 'Nette\\Loaders\\RobotLoader' => array ( 0 => 'NConfigurator', 1 => 'createRobotLoader', ), ) |
# |