[cvs] commit: horde/lib Tree.php
Marko Djukic
tech at oblo.com
Sat Feb 22 18:51:56 PST 2003
mdjukic 2003/02/22 18:51:56 PST
Added files:
lib Tree.php
Log:
The class to create dynamic trees, works with the relative js template to create a DHTML tree, but should be (see TODO) falling back to a reload-type tree if no js available.
- sets up the hierarchy array through the addNode method
- lots of customisation possible for each node, plus each row can have additional columns to the right
- renders all the html/js code needed to display the tree
TODO:
- fix up the setting up of class and actions for each node
- saving of tree state to sessions so that when coming back to the page the layout can be preserved
- deleted by accident the fall-back php code when there's no javascript, needs to be rewritten at some point
Revision Changes Path
1.1 +231 -0 horde/lib/Tree.php (new)
Chora Links:
http://cvs.horde.org/co.php/horde/lib/Tree.php?r=1.1
More information about the cvs
mailing list