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

  • 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, 'session' => array( 'iAmUsingBadHost' => NULL, '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, 'frames' => 'DENY', // X-Frame-Options 'users' => array(), // of [user => password] 'roles' => array(), // of [role => parents] 'resources' => array(), // of [resource => parents] ), 'mailer' => array( 'smtp' => FALSE, ), 'database' => array(), // of [name => dsn, user, password, debugger, explain, autowired, reflection] 'forms' => array( 'messages' => array(), ), 'container' => array( 'debugger' => FALSE, ), 'debugger' => array( 'email' => NULL, 'editor' => NULL, 'browser' => NULL, 'strictMode' => NULL, 'bar' => array(), // of class name 'blueScreen' => array(), // of callback ), )
#
public array $databaseDefaults array( 'dsn' => NULL, 'user' => NULL, 'password' => NULL, 'options' => NULL, 'debugger' => TRUE, 'explain' => TRUE, 'reflection' => 'Nette\Database\Reflection\DiscoveredReflection', )
#
Properties inherited from Nette\Config\CompilerExtension
$compiler, $name
Nette Framework 2.0 API API documentation generated by ApiGen 2.3.0