II am using getFolders to … yes … get the Folders 🙂
When I use this:
$folders = Tree::getFolders( null );
I get the complete tree.
How can I get only a part of the tree? Like, e.g. only Folder #7?
Tree::getFolders(7) doesn’t work. Looking in includes/classes/Tree.php I can see why:
$tree = self::getTree($folders_from_db, 0, $default_folders, $flat, $level, $show_level);
The second parameter sets the parent for getTree(), but it always 0 here.
Is there any way to change this?
Thanks a lot!
- You must be logged in to reply to this topic.