Namespaces

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

Classes

  • Compiler
  • CompilerExtension
  • Configurator
  • Helpers
  • Loader

Interfaces

  • IAdapter
  • Overview
  • Namespace
  • Class
  • Tree

Class Configurator

Initial system DI container generator.

Nette\Object
Extended by Nette\Config\Configurator
Namespace: Nette\Config
Author: David Grudl
Located at Config/Configurator.php
Methods summary
public
# __construct( )
public Nette\Config\Configurator
# setDebugMode( boolean|string|array $value = TRUE )

Set parameter %debugMode%.

Set parameter %debugMode%.

Parameters

$value
boolean|string|array

Returns

Nette\Config\Configurator
provides a fluent interface
public boolean
# isDebugMode( )

Returns

boolean
public Nette\Config\Configurator
# setTempDirectory( $path )

Sets path to temporary directory.

Sets path to temporary directory.

Returns

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

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

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

Returns

Nette\Config\Configurator
provides a fluent interface
protected array
# getDefaultParameters( )

Returns

array
public
# enableDebugger( string $logDirectory = NULL, string $email = NULL )

Parameters

$logDirectory
string
error log directory
$email
string
administrator email
public Nette\Loaders\RobotLoader
# createRobotLoader( )

Returns

Nette\Loaders\RobotLoader
public Nette\Config\Configurator
# addConfig( $file, $section = Nette\Config\Configurator::AUTO )

Adds configuration file.

Adds configuration file.

Returns

Nette\Config\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 Nette\Config\Compiler
# createCompiler( )

Returns

Nette\Config\Compiler
protected Nette\Config\Loader
# createLoader( )

Returns

Nette\Config\Loader
protected
# getCacheDirectory( )
public static boolean
# detectDebugMode( string|array $list = NULL )

Detects debug mode by IP address.

Detects debug mode by IP address.

Parameters

$list
string|array
IP addresses or computer names whitelist detection

Returns

boolean
Methods inherited from Nette\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.0.4 API API documentation generated by ApiGen 2.7.0