Zend Framework Components by Martin Hujer

Hello, I've decided to publish some of classes, I've written. I can share just these, I hasn't made as a part of my paid job.

All code is licensed under this BSD-like license


Mhujer_Tree

It is a class, which can load array with data in single parental structure like:

$a = array();
$a[] = array('id' => 1, 'idp' => 0, 'text' => 'foo');
$a[] = array('id' => 2, 'idp' => 1, 'text' => 'bar');

into multidimensional array.

Download

It can be downloaded here (in the gzipped tar)

(c) Martin Hujer 2007 < mhujer@gmail.com >