Packages

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

Classes

  • ConfigCompiler
  • ConfigCompilerExtension
  • ConfigLoader
  • Configurator

Interfaces

  • IConfigAdapter
  • Overview
  • Package
  • Class
  • Tree

Class Configurator

Initial system DI container generator.

Object
Extended by Configurator
Package: Nette\Config
Author: David Grudl
Located at Config/Configurator.php
Methods summary
public
# __construct( )
public Configurator
# setProductionMode( boolean $on = TRUE )

Set parameter %productionMode%.

Set parameter %productionMode%.

Parameters

$on
boolean

Returns

Configurator
provides a fluent interface
public boolean
# isProductionMode( )

Returns

boolean
public Configurator
# setTempDirectory( $path )

Sets path to temporary directory.

Sets path to temporary directory.

Returns

Configurator
provides a fluent interface
public Configurator
# addParameters( array $params )

Adds new parameters. The %params% will be expanded.

Adds new parameters. The %params% will be expanded.

Returns

Configurator
provides a fluent interface
protected array
# getDefaultParameters( )

Returns

array
public RobotLoader
# createRobotLoader( )

Returns

RobotLoader
public Configurator
# addConfig( $file, $section = Configurator::AUTO )

Adds configuration file.

Adds configuration file.

Returns

Configurator
provides a fluent interface
public SystemContainer
# createContainer( )

Returns system DI container.

Returns system DI container.

Returns

SystemContainer
protected string
# buildContainer( & $dependencies = NULL )

Build system container class.

Build system container class.

Returns

string
protected
# checkCompatibility( array $config )
protected ConfigCompiler
# createCompiler( )

Returns

ConfigCompiler
protected ConfigLoader
# createLoader( )

Returns

ConfigLoader
protected
# getCacheDirectory( )
public static boolean
# detectProductionMode( )

Detects production mode by IP address.

Detects production mode by IP address.

Returns

boolean
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
string DEVELOPMENT 'development'
#

config file sections

config file sections

string PRODUCTION 'production'
#

config file sections

config file sections

AUTO NULL
#

config file sections

config file sections

boolean NONE FALSE
#

config file sections

config file sections

Properties summary
public array $onCompile
#

of function(Configurator $sender, Compiler $compiler); Occurs after the compiler is created

of function(Configurator $sender, Compiler $compiler); Occurs after the compiler is created

protected array $parameters
#
protected array $files array()
#
Nette Framework 2.0beta2 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0