Re: arrays using with PEAR::Tree

From: Date: Tue, 29 Oct 2002 14:44:25 +0000
Subject: Re: arrays using with PEAR::Tree
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10328@lists.php.net to get a copy of this message
Björn Schotte wrote:
* Wolfram Kriesing wrote:
if i look at the structure there its no different to what i suggested, only that a child node is named 'sub' where the PEAR::Tree uses 'children'
Yes, as I said it's Menu3 compatible (http://www.ulf-wendel.de/) so that it can be used for existing menu structures. I will commit it if I find any time soon.
what Ulf Wendel is demonstrating on his page, converting XML into Menu3 is also already implemented in the PEAR::Tree package, instead of using an array, you can simply pass an XML-File which contains the tree-structure and it works the same as the example i sent before. -- Wolfram .. translating template engine .... http://sf.net/projects/simpletpl .. authentication system .... http://sf.net/projects/auth

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