Packages

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

Classes

  • Config
  • IniAdapter
  • NeonAdapter

Interfaces

  • IConfigAdapter
  • Overview
  • Package
  • Class
  • Tree

Class IniAdapter

Reading and writing INI files.

IniAdapter implements IConfigAdapter
Final
Package: Nette\Config
Author: David Grudl
Located at Config/IniAdapter.php
Methods summary
final public
# __construct( )

Static class - cannot be instantiated.

Static class - cannot be instantiated.

public static array
# load( string $file )

Reads configuration from INI file.

Reads configuration from INI file.

Parameters

$file
string
file name

Returns

array

Throws

InvalidStateException

Implementation of

IConfigAdapter::load
public static
# save( mixed $config, string $file )

Write INI file.

Write INI file.

Parameters

$config
mixed
$file
string
file

Implementation of

IConfigAdapter::save
Properties summary
public static string $keySeparator '.'
#

key nesting separator (key1> key2> key3)

key nesting separator (key1> key2> key3)

public static string $sectionSeparator ' < '
#

section inheriting separator (section < parent)

section inheriting separator (section < parent)

public static string $rawSection '!'
#

raw section marker

raw section marker

Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0