Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.1.5
-
Fix Version/s: 0.2.0
-
Component/s: Zend_Config
-
Labels:None
Description
Allow adapters to load multiple sections.
The section specification parameter in the constructor to be mixed:
- string - Names a single section to be loaded (currently supported)
- array - Array of strings, which are the names of multiple sections to be loaded
- null - Indicates that all sections should be loaded
When multiple sections are loaded, first level properties would correspond with section names (e.g., $config->sectionName). When a single section is loaded, then the first level properties will be the first level of the data space of that section ($config->key1).
Issue Links
| This issue is dependecy of: | ||||
| ZF-414 | Add getSectionName() and areAllSectionsLoaded() methods |
|
|
|
Resolved in Subversion changeset 1283