Namespaces

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

Classes

  • ConstantsExtension
  • ExtensionsExtension
  • NetteAccessor
  • NetteExtension
  • PhpExtension
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class NetteExtension

Core Nette Framework services.

Nette\Object
Extended by Nette\DI\CompilerExtension
Extended by Nette\DI\Extensions\NetteExtension
Namespace: Nette\DI\Extensions
Author: David Grudl
Located at DI/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.

Overrides

Nette\DI\CompilerExtension::loadConfiguration()
public
# afterCompile( Nette\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.

Overrides

Nette\DI\CompilerExtension::afterCompile()
Methods inherited from Nette\DI\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( 'http' => array( 'proxy' => array(), ), 'session' => array( 'debugger' => FALSE, 'autoStart' => 'smart', // true|false|smart 'expiration' => NULL, ), 'application' => array( 'debugger' => TRUE, 'errorPresenter' => 'Nette:Error', 'catchExceptions' => '%productionMode%', 'mapping' => NULL ), 'routing' => array( 'debugger' => TRUE, 'routes' => array(), // of [mask => action] ), 'security' => array( 'debugger' => TRUE, 'frames' => 'SAMEORIGIN', // X-Frame-Options 'users' => array(), // of [user => password] 'roles' => array(), // of [role => parents] 'resources' => array(), // of [resource => parents] ), 'mailer' => array( 'smtp' => FALSE, 'host' => NULL, 'port' => NULL, 'username' => NULL, 'password' => NULL, 'secure' => NULL, 'timeout' => NULL, ), 'database' => array(), // of [name => dsn, user, password, debugger, explain, autowired, reflection] 'forms' => array( 'messages' => array(), ), 'latte' => array( 'xhtml' => FALSE, 'macros' => array(), ), 'container' => array( 'debugger' => FALSE, 'accessors' => TRUE, ), 'debugger' => array( 'email' => NULL, 'editor' => NULL, 'browser' => NULL, 'strictMode' => NULL, 'maxLen' => NULL, 'maxDepth' => NULL, 'showLocation' => NULL, 'scream' => 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', 'autowired' => NULL, )
#
Properties inherited from Nette\DI\CompilerExtension
$compiler, $name
Magic properties inherited from Nette\DI\CompilerExtension
$config, $containerBuilder
Magic properties inherited from Nette\Object
$reflection
Nette 2.1 API documentation generated by ApiGen 2.8.0