Thursday, January 28, 2010

Re: return tree node from find('threaded')

See this example in the docs

http://book.cakephp.org/view/812/find-threaded

Is that what you're looking for?

On Jan 28, 12:59 pm, Alexandru Ciobanu <ics.cake...@gmail.com> wrote:
> 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: