Issue Type: Improvement Created: 2006-10-03T16:11:18.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-413
These methods will allow for easy retrieval of the way that the Zend_Config instance was loaded without having to store it outside the class. This is particularly useful where a Zend_Config object instance is stored and fetched using an application registry.
getSectionName() will return either a string or an array of string depending on how the Zend_Config was loaded. If it was loaded using a single section name, then getSectionName() will return a string. If it was loaded using mutliple section names or null (all sections) then it will return an array.
areAllSectionsLoaded() will return a boolean to indicate if the entire ini file was loaded.
Posted by Rob Allen (rob) on 2006-10-03T16:11:57.000+0000
Best to do this one after multiple sections are loadable!
Posted by Rob Allen (rob) on 2006-10-25T02:40:45.000+0000
Resolved in subversion revision 1344.
Have you found an issue?
See the Overview section for more details.