Re: Multidimensional array args through Paginator

2012-01-11 Thread jeremyharris
This is built into 2.0, but not 1.3. So... no. You might be able to use Set::flatten() and pass those instead, then unflatten them in the controller. Here's some code for unflattening that I wrote a while back: public function unflatten($data, $separator = '.') { $result = array(); foreach ($dat

Multidimensional array args through Paginator

2012-01-11 Thread Peter Brown
Hi All, I'm looking for a way to pass a multidimensional array through named arguments. Array ( [state] => "NY" [city] => Array ( [0] => "New York" [1] => "Brooklyn" ) ) When i