Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • ArrayTools
  • Callback
  • Component
  • ComponentContainer
  • Configurator
  • DateTime
  • Debug
  • Environment
  • Framework
  • FreezableObject
  • GenericRecursiveIterator
  • Image
  • ImageMagick
  • InstanceFilterIterator
  • Object
  • ObjectMixin
  • Paginator
  • RecursiveComponentIterator
  • ServiceLocator
  • SmartCachingIterator
  • String
  • Tools

Interfaces

  • IComponent
  • IComponentContainer
  • IDebuggable
  • IServiceLocator
  • ITranslator

Exceptions

  • AmbiguousServiceException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class Configurator

Nette\Environment helper.

Nette\Object
Extended by Nette\Configurator
Namespace: Nette
Author: David Grudl
Located at Environment/Configurator.php
Methods summary
public boolean
# detect( string $name )

Detect environment mode.

Detect environment mode.

Parameters

$name
string
mode name

Returns

boolean
public Nette\Config\Config
# loadConfig( string|Nette\Config\Config $file )

Loads global configuration from file and process it.

Loads global configuration from file and process it.

Parameters

$file
string|Nette\Config\Config
file name or Config object

Returns

Nette\Config\Config
public Nette\IServiceLocator
# createServiceLocator( )

Get initial instance of service locator.

Get initial instance of service locator.

Returns

Nette\IServiceLocator
public static Nette\Caching\ICacheStorage
# createCacheStorage( )

Returns

Nette\Caching\ICacheStorage
public static Nette\Loaders\RobotLoader
# createRobotLoader( $options )

Returns

Nette\Loaders\RobotLoader
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public string $defaultConfigFile '%appDir%/config.ini'
#
public array $defaultServices array( 'Nette\\Application\\Application' => 'Nette\Application\Application', 'Nette\\Web\\HttpContext' => 'Nette\Web\HttpContext', 'Nette\\Web\\IHttpRequest' => 'Nette\Web\HttpRequest', 'Nette\\Web\\IHttpResponse' => 'Nette\Web\HttpResponse', 'Nette\\Web\\IUser' => 'Nette\Web\User', 'Nette\\Caching\\ICacheStorage' => array(__CLASS__, 'createCacheStorage'), 'Nette\\Web\\Session' => 'Nette\Web\Session', 'Nette\\Loaders\\RobotLoader' => array(__CLASS__, 'createRobotLoader'), )
#
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0