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.

Template Questions /

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

Can someone explain Children() and ChildrenOf() controls please?


Go to End


9 Posts   15914 Views

Avatar
lerni

Community Member, 81 Posts

12 February 2010 at 2:54am

heho

smtg like that should work:

return DataObject::get("AritclePage", "", "Created DESC", "", 1);

Go to Top