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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Customize CMS - DataObject Manager module


Go to End


3 Posts   1179 Views

Avatar
kuenkuen82

Community Member, 41 Posts

6 September 2010 at 11:26pm

...
protected $per_page = "50";
...
protected $per_page_map = array('50', '100');

Would I need to use a DataObject Decorator Class to update these values outside the module?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

7 September 2010 at 1:38am

No, you can update those at the instance level.

$myDOM->setPerPageMap();
$myDOM->setPageSize();

Avatar
kuenkuen82

Community Member, 41 Posts

7 September 2010 at 8:04pm

Edited: 07/09/2010 8:06pm

That's create, many thanks