On Nov 21, 4:19 pm, Voyager2K [EMAIL PROTECTED] wrote:
How generate tree list by Tree behaviour ?
There are left, right and prent_id key.
each time to get childrens do:
$item-children($parent_id)
is too many sql queries.
PS. Others implementation i see use left, right and level fields.
They define change level column for this.
What an amusingly similarly named method:
http://api.cakephp.org/1.2/tree_8php-source.html#l00252
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP 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
-~--~~~~--~~--~--~---