Re: Tree_Menu
| From: | Richard Heyes | Date: | Tue, 25 Jun 2002 21:09:49 +0000 |
| Subject: | Re: Tree_Menu | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-7358@lists.php.net to get a copy of this message | ||
Björn Schotte <bjoern@baer.main.de> wrote:
> Hi guys,
>
> I developed a class called tree manager which uses
> the known structure from Ulf Wendel's Menu3 class (array
> structure) in order to display a graphical tree menu like
> that from WindowsExplorer (opened nodes will be saved
> in the session). At the moment I extended the array structure
> to have a key called "icon" which will display the appropriate
> icon for the menu node.
>
> Is that of any interest to you? Included is a function which
> reads a DB structure (id, parent, menuname etc.) and builds the
> array structure, including a function to insert one menu3 structure
> into a node of another menu3 structure and then displaying the
> WinExplorer like tree.
There's HTML_TreeMenu which I wrote, however it's completely seperate to
HTML_Menu. Undoubtedly someone would find your code useful, so +1 for adding
it.
--
Richard Heyes
___________________________________________________________
This mail sent using V-webmail - http://www.v-webmail.co.uk