Namespaces

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

Classes

  • Config
  • IniAdapter
  • NeonAdapter

Interfaces

  • IAdapter
  • Overview
  • Namespace
  • Class
  • Tree

Class IniAdapter

Reading and writing INI files.

Nette\Config\IniAdapter implements Nette\Config\IAdapter
Final
Namespace: 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

Nette\InvalidStateException

Implementation of

Nette\Config\IAdapter::load
public static
# save( mixed $config, string $file )

Write INI file.

Write INI file.

Parameters

$config
mixed
$file
string
file

Implementation of

Nette\Config\IAdapter::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 API API documentation generated by ApiGen 2.3.0