[dev] Horde_Tree_select class (new)

Ben Chavet ben at chavet.net
Mon Jan 24 21:46:06 PST 2005


Attached is an extension of Horde_Tree which allows a tree to be rendered in
<option> tags for use in a select box.

I was scratching my head on how to sort the category selection box for trean,
when it hit me: Horde_Tree puts things in the right order for the html tree,
why not extend that so it can do <option>'s, too!  Certainly, this will be
useful elsewhere, as well.

--Ben

Modified:
  framework/Tree/package.xml

New:
  framework/Tree/Tree/select.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: select.php
Type: application/x-php
Size: 3516 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050124/576d658e/select.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package.xml.diff
Type: text/x-patch
Size: 499 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050124/576d658e/package.xml.bin


More information about the dev mailing list