Off the top of my head I have used this quite a while ago: $this->Acl->Aco->findAll(); $this->Acl->Aco->generatetreelist();
I'd venture the guess that $this->Acl->Aco->find('threaded') should work too. On 29 Oct 2008, at 16:18, jst4fun wrote: > > Hello all, > I am trying to fetch the list of all ACO as a tree from the acos > table. I hope there will be some function in acl to fetch all the aco > list as an array. Already there is a console method "acl view aco". So > what is the php function to do the same so that I can use it in my > controllers. Thanks. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---