Namespaces

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

Classes

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

Interfaces

  • IFreezable

Exceptions

  • ArgumentOutOfRangeException
  • DeprecatedException
  • DirectoryNotFoundException
  • FatalErrorException
  • FileNotFoundException
  • InvalidArgumentException
  • InvalidStateException
  • IOException
  • MemberAccessException
  • NotImplementedException
  • NotSupportedException
  • OutOfRangeException
  • StaticClassException
  • UnexpectedValueException
  • Overview
  • Namespace
  • Class
  • Tree

Class Configurator

Initial system DI container generator.

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

Get initial instance of DI container.

Get initial instance of DI container.

Returns

Nette\DI\Container
public Nette\DI\Container
# loadConfig( $file, $section = NULL )

Loads configuration from file and process it.

Loads configuration from file and process it.

Returns

Nette\DI\Container
public static boolean
# detectProductionMode( )

Detects production mode by IP address.

Detects production mode by IP address.

Returns

boolean
public
# configurePhp( $name, $value )
public static Nette\Application\Application
# createServiceApplication( Nette\DI\Container $container, array $options = NULL )

Returns

Nette\Application\Application
public static Nette\Application\IPresenterFactory
# createServicePresenterFactory( Nette\DI\Container $container )

Returns

Nette\Application\IPresenterFactory
public static Nette\Application\IRouter
# createServiceRouter( Nette\DI\Container $container )

Returns

Nette\Application\IRouter
public static Nette\Http\Request
# createServiceHttpRequest( )

Returns

Nette\Http\Request
public static Nette\Http\Response
# createServiceHttpResponse( )

Returns

Nette\Http\Response
public static Nette\Http\Context
# createServiceHttpContext( Nette\DI\Container $container )

Returns

Nette\Http\Context
public static Nette\Http\Session
# createServiceSession( Nette\DI\Container $container, array $options = NULL )

Returns

Nette\Http\Session
public static Nette\Http\User
# createServiceUser( Nette\DI\Container $container )

Returns

Nette\Http\User
public static Nette\Caching\IStorage
# createServiceCacheStorage( Nette\DI\Container $container )

Returns

Nette\Caching\IStorage
public static Nette\Caching\IStorage
# createServiceTemplateCacheStorage( Nette\DI\Container $container )

Returns

Nette\Caching\IStorage
public static Nette\Caching\Storages\IJournal
# createServiceCacheJournal( Nette\DI\Container $container )

Returns

Nette\Caching\Storages\IJournal
public static Nette\Mail\IMailer
# createServiceMailer( Nette\DI\Container $container, array $options = NULL )

Returns

Nette\Mail\IMailer
public static Nette\Loaders\RobotLoader
# createServiceRobotLoader( Nette\DI\Container $container, array $options = NULL )

Returns

Nette\Loaders\RobotLoader
public static
# preloadEnvironment( Nette\DI\Container $container )
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public static $instance
#
public string $defaultConfigFile '%appDir%/config.neon'
#
Nette Framework 2.0beta1 API API documentation generated by ApiGen 2.3.0