Packages

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

Classes

  • NConfig
  • NConfigAdapterIni

Interfaces

  • IConfigAdapter
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NConfigAdapterIni

Reading and writing INI files.

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

Static class - cannot be instantiated.

Static class - cannot be instantiated.

public static array
# load( string $file, string $section = NULL )

Reads configuration from INI file.

Reads configuration from INI file.

Parameters

$file
string
file name
$section
string
section to load

Returns

array

Throws

InvalidStateException

Implementation of

IConfigAdapter::load
public static
# save( NConfig $config, string $file, string $section = NULL )

Write INI file.

Write INI file.

Parameters

$config
NConfig
to save
$file
string
file
$section
string
section name

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 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0