Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • 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

  • ConstantsExtension
  • NetteExtension
  • PhpExtension
  • Overview
  • Namespace
  • Class
  • Tree

Class NetteExtension

Core Nette Framework services.

Nette\Object
Extended by Nette\Config\CompilerExtension
Extended by Nette\Config\Extensions\NetteExtension
Namespace: Nette\Config\Extensions
Author: David Grudl
Located at Config/Extensions/NetteExtension.php
Methods summary
public
# loadConfiguration( )

Processes configuration data. Intended to be overridden by descendant.

Processes configuration data. Intended to be overridden by descendant.

public
# afterCompile( Nette\Utils\PhpGenerator\ClassType $class )

Adjusts DI container compiled to PHP class. Intended to be overridden by descendant.

Adjusts DI container compiled to PHP class. Intended to be overridden by descendant.

Methods inherited from Nette\Config\CompilerExtension
beforeCompile(), getConfig(), getContainerBuilder(), loadFromFile(), prefix(), setCompiler()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public array $defaults array( 'xhtml' => TRUE, 'iAmUsingBadHost' => FALSE, 'session' => array( 'autoStart' => NULL, // true|false|smart 'expiration' => NULL, ), 'application' => array( 'debugger' => TRUE, 'errorPresenter' => NULL, 'catchExceptions' => '%productionMode%', ), 'routing' => array( 'debugger' => TRUE, 'routes' => array(), // of [mask => action] ), 'security' => array( 'debugger' => TRUE, 'users' => array(), // of [user => password] 'roles' => array(), // of [role => parents] 'resources' => array(), // of [resource => parents] ), 'mail' => array( 'smtp' => FALSE, ), 'database' => array(), // of [name => dsn, user, password, debugger, explain, autowired] 'forms' => array( 'messages' => array(), ), )
#
public array $databaseDefaults array( 'dsn' => NULL, 'user' => NULL, 'password' => NULL, 'options' => NULL, 'debugger' => TRUE, 'explain' => TRUE, )
#
Properties inherited from Nette\Config\CompilerExtension
$compiler, $name
Nette Framework 2.0beta2 API API documentation generated by ApiGen 2.3.0