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.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Customize CMS - DataObject Manager module


Reply

3 Posts   826 Views

Avatar
kuenkuen82

6 September 2010 at 11:26pm Community Member, 41 Posts

...
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

7 September 2010 at 1:38am 4085 Posts

No, you can update those at the instance level.

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

Avatar
kuenkuen82

7 September 2010 at 8:04pm (Last edited: 7 September 2010 8:06pm), Community Member, 41 Posts

That's create, many thanks