Class ConfigAdapterXml (namespace Nette\Config)


Reading and writing XML files.


Implements interfaces:

Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Config/ConfigAdapterXml.php (line 34)
Public Method Summary
ConfigAdapterXml
Static class - cannot be instantiated.
static array
load (string $file, [string $section = NULL])
Reads configuration from XML file.
static void
save (Config $config, string $file, [$section = NULL])
Write XML file.

Method Details

line 40

__construct

public ConfigAdapterXml __construct ()

Static class - cannot be instantiated.

Output
ConfigAdapterXml  

line 53

load

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

Reads configuration from XML file.

Implementation of:

Input
string $file file name
string $section section to load
Output
array  

line 80

save

public static void save (Config $config, string $file, [$section = NULL])

Write XML file.

Implementation of:

Input
Config $config to save
string $file file
$section
Output
void