Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • None
  • PHP

Classes

  • NArrayHash
  • NArrayList
  • NCallback
  • NConfigurator
  • NDateTime53
  • NFramework
  • NFreezableObject
  • NImage
  • NObject
  • NObjectMixin

Interfaces

  • IFreezable

Exceptions

  • ArgumentOutOfRangeException
  • DeprecatedException
  • DirectoryNotFoundException
  • FatalErrorException
  • FileNotFoundException
  • InvalidStateException
  • IOException
  • MemberAccessException
  • NotImplementedException
  • NotSupportedException
  • NStaticClassException
  • Overview
  • Package
  • Class
  • Tree

Class NConfigurator

Initial system DI container generator.

NObject
Extended by NConfigurator
Package: Nette
Author: David Grudl
Located at common/Configurator.php
Methods summary
public
# __construct( $containerClass = 'NDIContainer' )
public NDIContainer
# getContainer( )

Get initial instance of DI container.

Get initial instance of DI container.

Returns

NDIContainer
public NDIContainer
# loadConfig( $file, $section = NULL )

Loads configuration from file and process it.

Loads configuration from file and process it.

Returns

NDIContainer
public static boolean
# detectProductionMode( )

Detects production mode by IP address.

Detects production mode by IP address.

Returns

boolean
public
# configurePhp( $name, $value )
public static NApplication
# createServiceApplication( NDIContainer $container, array $options = NULL )

Returns

NApplication
public static IPresenterFactory
# createServicePresenterFactory( NDIContainer $container )

Returns

IPresenterFactory
public static IRouter
# createServiceRouter( NDIContainer $container )

Returns

IRouter
public static NHttpRequest
# createServiceHttpRequest( )

Returns

NHttpRequest
public static NHttpResponse
# createServiceHttpResponse( )

Returns

NHttpResponse
public static NHttpContext
# createServiceHttpContext( NDIContainer $container )

Returns

NHttpContext
public static NSession
# createServiceSession( NDIContainer $container, array $options = NULL )

Returns

NSession
public static NUser
# createServiceUser( NDIContainer $container )

Returns

NUser
public static ICacheStorage
# createServiceCacheStorage( NDIContainer $container )

Returns

ICacheStorage
public static ICacheStorage
# createServiceTemplateCacheStorage( NDIContainer $container )

Returns

ICacheStorage
public static ICacheJournal
# createServiceCacheJournal( NDIContainer $container )

Returns

ICacheJournal
public static IMailer
# createServiceMailer( NDIContainer $container, array $options = NULL )

Returns

IMailer
public static NRobotLoader
# createServiceRobotLoader( NDIContainer $container, array $options = NULL )

Returns

NRobotLoader
public static
# preloadEnvironment( NDIContainer $container )
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public static $instance
#
public string $defaultConfigFile '%appDir%/config.neon'
#
Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0