Re: Recursive Association in Model

2008-10-10 Thread Gabriel Gilini
Hi there, If you play around with Set::combine and Set::extract a bit you could achieve the desired results. As I know for a fact that you're a fellow brazilian, take a look at this blog post: http://kiss.souagil.com.br/2008/08/manipulando-arrays-associativas/ I hope it'll help you. Cheers, Gabr

AW: Recursive Association in Model

2008-10-09 Thread Liebermann, Anja Carolin
08 15:42 An: CakePHP Betreff: Recursive Association in Model Hi... A friend of mine is developing an application with uses a recursive hasMany association in a Model. Everything is working fine, except that the obtained data array is ugly, and dificult to work on. This is the Model defin

Recursive Association in Model

2008-10-09 Thread SamuraiDio
Hi... A friend of mine is developing an application with uses a recursive hasMany association in a Model. Everything is working fine, except that the obtained data array is ugly, and dificult to work on. This is the Model definition: class PlanoConta extends AppModel { var $name = 'PlanoConta