Ok, for those who happen upon this thread looking for a method of
ordering their Tree children, I did a bit of digging into the actual
code and discovered that there are in fact more arguments to the
children() function than are documented in the Book. I've made
corrections to the Book which will hopefully fill in soon:
http://book.cakephp.org/view/228/Basic-Usage#Children-525
children() in fact takes several arguments (though strangely, not in
an $options array like you might expect from CakePHP) including an
$order SQL ORDER BY statement. So, whatever reorder() is supposed to
do, this is actually not the way to organize your tree structure for
display.

Hope that helps someone!! It's been a heck of a struggle for me,
personally.

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

Reply via email to