Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NArrayTools
  • NCallback
  • NComponent
  • NComponentContainer
  • NConfigurator
  • NDateTime53
  • NDebug
  • NEnvironment
  • NFramework
  • NFreezableObject
  • NGenericRecursiveIterator
  • NImage
  • NImageMagick
  • NInstanceFilterIterator
  • NObject
  • NObjectMixin
  • NPaginator
  • NRecursiveComponentIterator
  • NServiceLocator
  • NSmartCachingIterator
  • NString
  • NTools

Interfaces

  • IComponent
  • IComponentContainer
  • IDebuggable
  • IServiceLocator
  • ITranslator

Exceptions

  • NAmbiguousServiceException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NConfigurator

NEnvironment helper.

NObject
Extended by NConfigurator
Package: Nette
Author: David Grudl
Located at Environment/Configurator.php
Methods summary
public boolean
# detect( string $name )

Detect environment mode.

Detect environment mode.

Parameters

$name
string
mode name

Returns

boolean
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

Returns

NConfig
public IServiceLocator
# createServiceLocator( )

Get initial instance of service locator.

Get initial instance of service locator.

Returns

IServiceLocator
public static ICacheStorage
# createCacheStorage( )

Returns

ICacheStorage
public static NRobotLoader
# createRobotLoader( $options )

Returns

NRobotLoader
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public string $defaultConfigFile '%appDir%/config.ini'
#
public array $defaultServices array( 'Nette\\Application\\Application' => 'NApplication', 'Nette\\Web\\HttpContext' => 'NHttpContext', 'Nette\\Web\\IHttpRequest' => 'NHttpRequest', 'Nette\\Web\\IHttpResponse' => 'NHttpResponse', 'Nette\\Web\\IUser' => 'NUser', 'Nette\\Caching\\ICacheStorage' => array(__CLASS__, 'createCacheStorage'), 'Nette\\Web\\Session' => 'NSession', 'Nette\\Loaders\\RobotLoader' => array(__CLASS__, 'createRobotLoader'), )
#
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0