[Midas] Fwd: ItemRevisionDao
Michael Grauer
michael.grauer at kitware.com
Thu Aug 23 10:14:29 EDT 2012
---------- Forwarded message ----------
From: Michael Grauer <michael.grauer at kitware.com>
Date: Thu, Aug 23, 2012 at 10:14 AM
Subject: Re: [Midas] ItemRevisionDao
To: Mona Wong <mona at sdsc.edu>
Hi Mona,
itemrevision_id will uniquely identify a row in the itemrevision table of
the db, so it will also uniquely identify this itemrevision for an item.
You are correct, another revision for the same item will have a different
itemrevision_id.
The 1 in revision means that this is revision 1 for this item, the item
could have 1 or more revisions.
-Mike
On Wed, Aug 22, 2012 at 7:36 PM, Mona Wong <mona at sdsc.edu> wrote:
>
> I have some questions about the ItemRevisionDao object which contains the
> following information:
>
> ItemRevisionDao Object
> (
> [_model] => ItemRevision
> [key:protected] =>
> [_key] => itemrevision_id
> [saved] => 1
> [itemrevision_id] => 62624
> [item_id] => 62669
> [revision] => 1
> [date] => 2012-07-09 14:20:24
> [changes] => Initial revision
> [user_id] => 13
> [license_id] => 4
> [uuid] => 4ffb20e85dbc30559c60eb0b08f7a376af223d346119e
> )
>
> I presume [itemrevision_id] should uniquely identify this revision for an
> item right? Another revision for this item will have a different
> [itemrevision_id]?
>
> Also, does the "1" in [revision] mean there is 1 revision or this is
> revision #1?
>
> thanks,
> Mona
>
> *********************************************
> Mona Wong
> Web & iPad Application Developer
> San Diego Supercomputer Center
>
> Believing we are in control is an
> illusion that brings suffering.
> *********************************************
>
>
>
>
>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
>
--
Thanks,
Michael Grauer
R & D Engineer
Kitware, Inc.
919 969 6990 x322
--
Thanks,
Michael Grauer
R & D Engineer
Kitware, Inc.
919 969 6990 x322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120823/7720dd75/attachment.html>
More information about the Midas
mailing list