Zend Framework

Allow loading of multiple sections

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major 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:

  1. string - Names a single section to be loaded (currently supported)
  2. array - Array of strings, which are the names of multiple sections to be loaded
  3. 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

Activity

Hide
Rob Allen added a comment -

Resolved in Subversion changeset 1283

Show
Rob Allen added a comment - Resolved in Subversion changeset 1283

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: