# Symfony Doctrine Nested Set Manager Plugin # ## Installation ## You must enable the module for the nested set manager in your application settings.yml [yaml] all: .settings: enabled_modules: [default, sfNestedSetManager] ## Usage ## [php] <?php // Need to use the helper use_helper('NestedSetManager'); // Category nested set with 1 root echo get_nested_set_manager('Category', 'name'); // Comments nested set with multiple roots // echo get_nested_set_manager('Comment', 'body', 1); // 3rd argument is the root id of the nested set tree ?>