<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Michael Grauer</b> <span dir="ltr"><<a href="mailto:michael.grauer@kitware.com">michael.grauer@kitware.com</a>></span><br>
Date: Thu, Aug 23, 2012 at 10:14 AM<br>Subject: Re: [Midas] ItemRevisionDao<br>To: Mona Wong <<a href="mailto:mona@sdsc.edu">mona@sdsc.edu</a>><br><br><br>Hi Mona,<div><br></div><div>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.</div>
<div><br></div><div>The 1 in revision means that this is revision 1 for this item, the item could have 1 or more revisions.</div><div><br></div><div>-Mike</div><div><br></div><div><br><br><div class="gmail_quote"><div><div class="h5">
On Wed, Aug 22, 2012 at 7:36 PM, Mona Wong <span dir="ltr"><<a href="mailto:mona@sdsc.edu" target="_blank">mona@sdsc.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word"><div><br></div><div><span style="white-space:pre-wrap"> </span>I have some questions about the ItemRevisionDao object which contains the following information:</div>
<div><br></div><div>ItemRevisionDao Object</div><div>(</div><div> [_model] => ItemRevision</div><div> [key:protected] => </div><div> [_key] => itemrevision_id</div><div> [saved] => 1</div><div> [itemrevision_id] => 62624</div>
<div> [item_id] => 62669</div><div> [revision] => 1</div><div> [date] => 2012-07-09 14:20:24</div><div> [changes] => Initial revision</div><div> [user_id] => 13</div><div> [license_id] => 4</div>
<div> [uuid] => 4ffb20e85dbc30559c60eb0b08f7a376af223d346119e</div><div>)</div><div><br></div><div><span style="white-space:pre-wrap"> </span>I presume [itemrevision_id] should uniquely identify this revision for an item right? Another revision for this item will have a different [itemrevision_id]?</div>
<div><br></div><div><span style="white-space:pre-wrap"> </span>Also, does the "1" in [revision] mean there is 1 revision or this is revision #1?</div><div><br></div><div>thanks,</div><div>Mona</div><div><br></div>
<div>
<div style="word-wrap:break-word"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>*********************************************</div><div> Mona Wong</div><div> Web & iPad Application Developer</div><div> San Diego Supercomputer Center</div><div><br></div><div> Believing we are in control is an</div>
<div> illusion that brings suffering.</div><div><div><div>*********************************************</div><div><span style="font-size:medium"><br></span></div></div></div></div></span></div></span></div></span></div>
</span></div></span></div></span></div></span></div></span><br></div><br><br>
</div>
<br></div><br></div></div>_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com" target="_blank">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Thanks,<br>Michael Grauer<br>R & D Engineer<br>Kitware, Inc.<br><a href="tel:919%20969%206990%20x322" value="+19199696990" target="_blank">919 969 6990 x322</a><br>
<br><br><br>
</font></span></div>
</div><br><br clear="all"><div><br></div>-- <br>Thanks,<br>Michael Grauer<br>R & D Engineer<br>Kitware, Inc.<br>919 969 6990 x322<br><br><br><br>