Thursday, January 28, 2010

return tree node from find('threaded')

Hi guys,

I have a Category model with the following table setup:

http://bin.cakephp.org/view/657815570

Doing a $this->Category->find('threaded') returns the categories tree.

Is there a non-hackish way to return just a tree node?

E.g. return all children for Category.id='3'


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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: