Hi Maxime, On Thu, Aug 12, 2010 at 10:33 PM, Maxime Thomas <[email protected]> wrote: > Hi, > > I also would like to have this has a new feature in this update : > > Description > ========= > The configuration package could be able to store and retreive assoc arrays. > > Example > ========= > > Consider an application with a block setting call MySettings and a a > settings called Data. > It will be useful to get a key to directly access one of the Data settings > without looping on it. > > [MySettings] > Data["key1"]="foo" > Data["key2"]="bar" > Data["key3"]="bla" > ... > > > Use > === > > A use of it could be : > > $data = $cfg->getSetting("MySettings", "Data"); > echo $data["key1"]; > > Should print : foo > >
I think this is a complete different feature. Please file an enhancement request for that in the issue tracker: - https://issues.apache.org/jira/browse/ZETACOMP Thanks :) -- Jérôme Renard http://39web.fr | http://jrenard.info
