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.

Data Model Questions /

Versioning without stage


Reply


366 Views

Avatar
zard

Community Member, 24 Posts

30 September 2013 at 11:30pm

Edited: 30/09/2013 11:45pm

Hi,

For a travel builder, I need to provide history for each of the object's contents. In order to achieve this, I've looked into the Versioned object and it seems to be doing exactly what I need!

However, I have absolutely no use for the Stage/Live distinction and I can see it creating confusion.

Is there any way to use the Versioned extension only to provide previous versions without the addition of a separate stage for object staging?

I would effectively like something like:

Class Event extends DataObject{
static $extensions = array(
"Versioned('Only_one')"
);