Hierarchical data - is this possible?

I think it would be a good thing to have this implemented in Yii.

Example: http://www.doctrine-project.org/documentation/manual/1_1/en/hierarchical-data#introduction


I already using own implementation of Tree, so it’s possible. If u asking about doctrine’s implementation, then it’s more deeper subject to study, there are alot of ways to store tress and nested set is not suit for all tasks. So i would like to have at least 2 basic methods: nested set and adjacency list.

There is an extension for nested sets here: http://www.yiiframework.com/extension/nestedset/

I tested this today along with the jsTree extension and it appears to run ok.

It would be nice to see some more activity with it, since there is not much in the way of examples for using it, and nothing on actual database management of the nested data.