Over at www.flipflops.org we’ve just released the code we use to manage menus and sitemaps in our CMS system, built on-top of the CakePHP application development framework.
The Helper is designed to work with data arrays produced from either any $model->find(’threaded’) or from the ‘Tree’ behaviour:
It’s fairly common to want to store hierarchical data in a database table. Examples of such data might be categories with unlimited subcategories, data related to a multilevel menu system [...] is a powerful behaviour which allows you to use the benefits of MPTT logic
[http://book.cakephp.org/view/91/Tree]
Whilst this may not be useful to a lot of people as it has been designed for use specifically within the constrains of our system, it might be useful for you.
