Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Getting all children and subchildren .. lots of levels deep?


Go to End


9 Posts   8410 Views

Avatar
Jonathan Hyatt

Community Member, 11 Posts

19 February 2016 at 5:42am

I've seen this function called getAllDescendants() in other CMSs. It can be very handy if you want leave decisions about the tree and content organization to your contend editor. Also, this allows you to restructure your content without code changes. Rather than specifying an exact level.

Go to Top