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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Data Model Questions /

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

Can I return a DataSet of Datasets?


Go to End


2 Posts   1324 Views

Avatar
DsX

Community Member, 178 Posts

22 November 2010 at 6:07pm

I need to create small datasets that are contained in another dataset, so that I can 'hopefully' control through the top dataset and 'somehow' control through the contained datasets.

I was working on 2 methods, one that setup an array with integers that define limits for a query, and another that returns the limited query as a dataset... this is working other than the fact that I can't pass variables to the second method in the control.

so is there a way I can embed these multiple datasets into a single dataset and then control throught them in the ss templates?

Avatar
DsX

Community Member, 178 Posts

22 November 2010 at 7:22pm