Config/Array.php
Package: Conjoon\ConfigAllows for passing an array which keys uses a nest separator.
The according keys will be split so that the separator is taken into
account. This basically follows the logic of Zend_Config_Ini with the
difference that you pass the constructor a config array instead of
a filename.
- Parent(s)
- \Zend_Config_Ini
- Author
- Zend
- Author
-
Thorsten Suckow-Homberg
- Uses
- \Zend_Config
Methods



__construct(
array $config, string | null $section
=
null, boolean | array $options
=
false
)
:
voidLoads the section $section from the array $config for
access facilitated by nested object properties.
Parameters
| Name |
Type |
Description |
| $config |
array |
|
| $section |
string | null |
|
| $options |
boolean | array |
|
Throws
| Exception |
Description |
| \Zend_Config_Exception |
|



_loadIniFile(
Array $config
)
:
arrayOverrides parent implementation by passing an already parsed ini array to this
method.
Parameters
| Name |
Type |
Description |
| $config |
Array |
|
Returns
Throws
| Exception |
Description |
| \Zend_Config_Exception |
|