Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.7

Request #4711 tree structure don't need an Doubly-linked list
Submitted: 2005-06-29 20:50 UTC
From: fabio at bs2 dot com dot br Assigned:
Status: Bogus Package: Tree
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 27 - 17 = ?

 
 [2005-06-29 20:50 UTC] fabio at bs2 dot com dot br
Description: ------------ I think that an node of tree structure only need a parent, and not a parent and Doubly-linked list. LiveUser package of PEAR in complex type has an tree structure in group hierarchi, and I'm trying to show this hierarchi, but this class require left and right fields and table that link parent and childs not have this fields. My change request is remove or change the right and left fields be optional. Because tree structure don't need an Doubly-linked list.

Comments

 [2006-03-30 22:08 UTC] cross (colin)
Why not use the DBsimple type (which only requires an ID and parent ID)?
 [2006-04-08 19:54 UTC] dufuz (Helgi Þormar)
Thank you for taking the time to write to us, but this is not a bug. Colin is straight on about this ...