XML config reader.

category Zend
package Zend_Config
subpackage Reader

 Methods

fromFile(): defined by Reader interface.

fromFile(string $filename) : array

see \Zend\Config\Reader\ReaderInterface::fromFile()

Parameters

$filename

string

Exceptions

\Zend\Config\Exception\RuntimeException

Returns

array

fromString(): defined by Reader interface.

fromString(string $string) : array | bool

Parameters

$string

string

Exceptions

\Zend\Config\Exception\RuntimeException

Returns

arraybool

Get nest separator.

getNestSeparator() : string

Returns

string

Set nest separator.

setNestSeparator(string $separator) : \Zend\Config\Reader\self

Parameters

$separator

string

Returns

\Zend\Config\Reader\self

Process data from the parsed ini file.

process(array $data) : array

Parameters

$data

array

Returns

array

Process a key.

processKey(string $key, string $value, array $config) : array

Parameters

$key

string

$value

string

$config

array

Exceptions

\Zend\Config\Exception\RuntimeException

Returns

array

Process a section.

processSection(array $section) : array

Parameters

$section

array

Returns

array

Process a nested section

buildNestedSection(array $sections, mixed $value) : array

Parameters

$sections

array

$value

mixed

Returns

array

 Properties

 

Directory of the file to process.

$directory : string

 

Separator for nesting levels of configuration data identifiers.

$nestSeparator : string