views:

322

answers:

1

Is there a way in symfony to get from a doctrine nested set the whole path/route from a specified by id element to the root element in a Doctrine_Collection or array ?

+2  A: 

I think this should return what you are after:

$obj->getNode()->getAncestors();

From the docs

johnwards