Re: Tree_Menu

From: Date: Tue, 25 Jun 2002 08:55:04 +0000
Subject: Re: Tree_Menu
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7340@lists.php.net to get a copy of this message
Björn Schotte 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.
In case it is of any interest: the Tree-classes handle all the Tree access stuff already independently of the kind of tree structure below (either as DB: nested tree's, parent-oriented or even XML-files). -- Wolfram .. translating template engine .... http://sf.net/projects/simpletpl .. authentication system .... http://sf.net/projects/auth

« previous php.pear.dev (#7340) next »