Zend Framework  3.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Ini Class Reference

INI config reader. More...

Public Member Functions

 setNestSeparator ($separator)
 Set nest separator.
 
 getNestSeparator ()
 Get nest separator.
 
 fromFile ($filename)
 fromFile(): defined by Reader interface.
 
 fromString ($string)
 fromString(): defined by Reader interface.
 

Protected Member Functions

 process (array $data)
 Process data from the parsed ini file.
 
 processSection (array $section)
 Process a section.
 
 processKey ($key, $value, array &$config)
 Process a key.
 

Protected Attributes

 $nestSeparator = '.'
 
 $directory
 

Detailed Description

INI config reader.

Member Function Documentation

fromFile (   $filename)

fromFile(): defined by Reader interface.

See Also
ReaderInterface::fromFile()
Parameters
string$filename
Returns
array
Exceptions
Exception\RuntimeException

Implements ReaderInterface.

fromString (   $string)

fromString(): defined by Reader interface.

Parameters
string$string
Returns
array|bool
Exceptions
Exception\RuntimeException

Implements ReaderInterface.

getNestSeparator ( )

Get nest separator.

Returns
string
process ( array  $data)
protected

Process data from the parsed ini file.

Parameters
array$data
Returns
array
processKey (   $key,
  $value,
array &  $config 
)
protected

Process a key.

Parameters
string$key
string$value
array$config
Returns
array
Exceptions
Exception\RuntimeException
processSection ( array  $section)
protected

Process a section.

Parameters
array$section
Returns
array
setNestSeparator (   $separator)

Set nest separator.

Parameters
string$separator
Returns
self

Member Data Documentation

$directory
protected
$nestSeparator = '.'
protected