On Apr 19, 5:09 pm, xtraorange <xtraora...@gmail.com> wrote: > Howdy all.. > > Still not comfortable with cakephp yet. What I'm looking to do here > is just print the AROS tree structure so I can verify everything is > where it should be (and so I can learn how to work with it later). > How would I go about doing this?
You can get the AROs from inside your controller by going through the ACL: $data = $this->Acl->Aro->find( 'threaded', array( 'recursive' => -1 ) ); The recursive param is important as you'll otherwise likely run out of memory if you have many records. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en