Packages

  • 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

Classes

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class NetteExtension

Core Nette Framework services.

Object
Extended by ConfigCompilerExtension
Extended by NetteExtension
Package: 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.

Overrides

ConfigCompilerExtension::loadConfiguration()
public
# afterCompile( PhpClassType $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

ConfigCompilerExtension::afterCompile()
Methods inherited from ConfigCompilerExtension
beforeCompile(), getConfig(), getContainerBuilder(), loadFromFile(), prefix(), setCompiler()
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public array $defaults array( 'xhtml' => TRUE, 'session' => array( 'iAmUsingBadHost' => NULL, 'autoStart' => 'smart', // 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' => 'SAMEORIGIN', // 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' => 'DiscoveredReflection', )
#
Properties inherited from ConfigCompilerExtension
$compiler, $name
Magic properties inherited from ConfigCompilerExtension
$config, $containerBuilder
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0