Packages

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

Classes

  • NConfigCompiler
  • NConfigCompilerExtension
  • NConfigLoader
  • NConfigurator

Interfaces

  • IConfigAdapter
  • Overview
  • Package
  • Class
  • Tree

Class NConfigLoader

Configuration file loader.

NObject
Extended by NConfigLoader
Package: Nette\Config
Author: David Grudl
Located at Config/Loader.php
Methods summary
public array
# load( string $file, string $section = NULL )

Reads configuration from file.

Reads configuration from file.

Parameters

$file
string
file name
$section
string
optional section to load

Returns

array
public
# save( array $data, string $file )

Save configuration to file.

Save configuration to file.

Parameters

$data
array
$file
string
file
public array
# getDependencies( )

Returns configuration files.

Returns configuration files.

Returns

array
public NConfigLoader
# addAdapter( string $extension, string|IConfigAdapter $adapter )

Registers adapter for given file extension.

Registers adapter for given file extension.

Parameters

$extension
string
file extension
$adapter
string|IConfigAdapter

Returns

NConfigLoader
provides a fluent interface
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Nette Framework 2.0beta2 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0