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:

Blog Module /

Discuss the Blog Module.

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

Blog & Widget private properties


Go to End


2 Posts   1292 Views

Avatar
Bambii7

Community Member, 254 Posts

25 April 2013 at 1:06pm

Edited: 25/04/2013 1:19pm

Hi guys,
just wondering why the most recent version of blog & widget module uses private static $db rather than public? Are all objects moving towards this?

EDIT: is this just to stop people using the master branches? I notice the other branches don't appear to have this.

Sorry if it's been answered before, a quick Google and glance on the forums didn't reveal the answer.

Avatar
Willr

Forum Moderator, 5523 Posts

3 May 2013 at 9:27pm

It's an API change for 3.1, All objects properties are moving towards private.