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.

Data Model Questions /

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

inherit dataobject ( or something)


Go to End


17 Posts   6985 Views

Avatar
swaiba

Forum Moderator, 1899 Posts

26 February 2011 at 1:02am

I meant ModelAdmin actually... and try this...

class MyAdmin extends ModelAdmin {
...
	public function init() {
		parent::init();
		...
		self::$page_length = 15;
	}
...
}

Go to Top