ZF-413: Allow loading of multiple sections

Issue Type: Improvement Created: 2006-10-03T16:03:46.000+0000 Last Updated: 2007-07-05T14:43:22.000+0000 Status: Resolved Fix version(s): - 0.2.0 (29/Oct/06)

Reporter: Rob Allen (rob) Assignee: Rob Allen (rob) Tags: - Zend_Config

Related issues: - ZF-414



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).


Posted by Rob Allen (rob) on 2006-10-18T17:11:33.000+0000

Resolved in Subversion changeset 1283

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.