Jump to:

3433 Posts in 1058 Topics by 734 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Versioning without stage

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

Page: 1
Go to End
Author Topic: 255 Views
  • zard
    Avatar
    Community Member
    22 Posts

    Versioning without stage Link to this post

    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')"
    );

    255 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.