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

  • ArrayHash
  • ArrayList
  • Callback
  • Configurator
  • DateTime53
  • Framework
  • FreezableObject
  • Image
  • Object
  • ObjectMixin

Interfaces

  • IFreezable

Exceptions

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

Class Configurator

Initial system DI container generator.

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

Get initial instance of DI container.

Get initial instance of DI container.

Returns

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

Loads configuration from file and process it.

Loads configuration from file and process it.

Returns

DIContainer
public static boolean
# detectProductionMode( )

Detects production mode by IP address.

Detects production mode by IP address.

Returns

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

Returns

Application
public static IPresenterFactory
# createServicePresenterFactory( DIContainer $container )

Returns

IPresenterFactory
public static IRouter
# createServiceRouter( DIContainer $container )

Returns

IRouter
public static HttpRequest
# createServiceHttpRequest( )

Returns

HttpRequest
public static HttpResponse
# createServiceHttpResponse( )

Returns

HttpResponse
public static HttpContext
# createServiceHttpContext( DIContainer $container )

Returns

HttpContext
public static Session
# createServiceSession( DIContainer $container, array $options = NULL )

Returns

Session
public static User
# createServiceUser( DIContainer $container )

Returns

User
public static ICacheStorage
# createServiceCacheStorage( DIContainer $container )

Returns

ICacheStorage
public static ICacheStorage
# createServiceTemplateCacheStorage( DIContainer $container )

Returns

ICacheStorage
public static ICacheJournal
# createServiceCacheJournal( DIContainer $container )

Returns

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

Returns

IMailer
public static RobotLoader
# createServiceRobotLoader( DIContainer $container, array $options = NULL )

Returns

RobotLoader
public static
# preloadEnvironment( DIContainer $container )
Methods inherited from Object
__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