Re: Multidimensional array as named argument

2012-01-11 Thread jeremyharris
Glad I could help! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@goog

Re: Multidimensional array as named argument

2012-01-11 Thread Peter Brown
Works perfectly, thanks again! On Wed, Jan 11, 2012 at 2:50 PM, Peter Brown wrote: > Thanks Jeremy I will try > > > On Wed, Jan 11, 2012 at 2:15 PM, jeremyharris wrote: > >> It should probably go in the controller, since it's dealing with the >> params. Maybe call it in beforeFilter to massage

Re: Multidimensional array as named argument

2012-01-11 Thread Peter Brown
Thanks Jeremy I will try On Wed, Jan 11, 2012 at 2:15 PM, jeremyharris wrote: > It should probably go in the controller, since it's dealing with the > params. Maybe call it in beforeFilter to massage the params? > > Personally, I would avoid magically converting them because you may come > up wi

Re: Multidimensional array as named argument

2012-01-11 Thread jeremyharris
It should probably go in the controller, since it's dealing with the params. Maybe call it in beforeFilter to massage the params? Personally, I would avoid magically converting them because you may come up with unwanted results. Instead, I would call it when I know I flattened the parameters to

Re: Multidimensional array as named argument

2012-01-11 Thread Peter Brown
Thank you very much for your response Jeremy, could you where should I put this function and when should i call it ? On Wed, Jan 11, 2012 at 1:47 PM, jeremyharris wrote: > You can try something like I suggested here: > https://groups.google.com/forum/?hl=en#!topic/cake-php/DtQaksHP1ic > > -- > O

Re: Multidimensional array as named argument

2012-01-11 Thread jeremyharris
You can try something like I suggested here: https://groups.google.com/forum/?hl=en#!topic/cake-php/DtQaksHP1ic -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakeP

Re: Multidimensional array as named argument

2012-01-11 Thread jeremyharris
It is possible in 2.0 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@g

Re: Multidimensional array as named argument

2012-01-11 Thread Peter Brown
Hi I have exactly the same problem, did you figure out something ? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from th

Re: Multidimensional array as named argument

2009-08-11 Thread JamesF
i would just use implode on the array to set up my seperate arguments and turn it into a url string On Aug 11, 10:22 am, Tushar wrote: > Is it possible to pass an array through named arguments and have it > accessible via $this->passedArgs? > > How would you convert an array as such to a named a

Multidimensional array as named argument

2009-08-11 Thread Tushar
Is it possible to pass an array through named arguments and have it accessible via $this->passedArgs? How would you convert an array as such to a named argument Array ( [foo] => "foo1" [bar] => Array ( [0] => "bar0"