l3pp4rd/DoctrineExtensions — Issue #182: It's not possible to include root nodes in a hierarchy
Author: glen-84
Created: 2011-10-27 09:00:53+00:00
State: open

childrenHierarchy() gets a nested array for a node's children, but does not include the root node(s). Perhaps a new method such as: hierarchy($rootNode = null, $direct = false, $html = false, array $options = null) could be added? (if $rootNode is null, it would include all roots in the hierarchy).