Oh thanks a lot. I played around for hours especially with these "category headers" which should be ignored but mandatory if an array follows (you know these pesudo-keys with an . as prefix like .settings). Now I splittet the configuration into several yml files which works perfectly in this case.
Best regards Florian On 25 Aug., 21:04, Richtermeister <[email protected]> wrote: > Hey Mintao, > > yeah, there's a limit as to how deep you can go directly. > If you need to access deeper nestings, you have to retrieve the parent > array first and access it directly. > > Daniel > > On Aug 25, 7:20 am, mintao <[email protected]> wrote: > > > > > Hi, > > > print_r('app_thumbshots') > > displays the following: > > Array > > ( > > [path] => images/thumbs > > [quality] => 75 > > [max_age] => 30 > > [delay] => 20 > > [screenx] => 1024 > > [screeny] => 768 > > [optimize] => 1 > > [use_service] => artviper > > [format] => jpg > > [dimensions] => Array > > ( > > [0] => 360x240 > > [1] => 92x96 > > ) > > > [services] => Array > > ( > > [artviper] => Array > > ( > > [width] => w > > [height] => h > > [delaytime] => d > > [screenx] => sdx > > [screeny] => sdy > > [username] => userID > > [password] => email > > [siteurl] => url > > [quality] => q > > [apiurl] > > =>http://www.artviper.net/webdesign-themes/website-design.php > > [pendingmd5] => Array > > ( > > [0] => d43a71fabfb8d9ea2c6934a0e29c0981 > > ) > > > ) > > > ) > > > ) > > > ... then when I try to go a level deeper ... > > > print_r('app_thumbshots_services'); > > > Result: nothing > > > On 25 Aug., 16:13, Andrei Dziahel <[email protected]> wrote: > > > > Hi. > > > > You should print_r('app_thumbshot') > > > > Look into web debug toolbars' config section first. > > > > 2009/8/25 mintao <[email protected]> > > > > > I may understood sth wrong, but here's my problem: > > > > > app.yml: > > > > <pre> > > > > all: > > > > .thumbshots: > > > > thumbshot: > > > > path: images/thumbs > > > > quality : 75 > > > > max_age: 30 > > > > delay: 20 > > > > screenx: 1024 > > > > screeny: 768 > > > > optimize: true > > > > services: > > > > artviper: > > > > # GET paremter definitions > > > > width: w > > > > height: h > > > > delaytime: d > > > > screenx: sdx > > > > screeny: sdy > > > > username: userID > > > > password: email > > > > siteurl: url > > > > </pre> > > > > > print_r( sfConfig::get('app_thumbshot_services_artviper_width') ); > > > > > RESULT: nothing. > > > > > What a I doing wrong? Is there a maximum level for nested settings? > > > > > PS: The leading spaces are double checked and ok. > > > > -- > > > With the best regards, Andy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
