Emiliano wrote: > John P . Looney wrote: > > >> I've just done as David told me, and it's working fine. > > > Yeah, /me inserts foot in mouth and cleans out eyes. > > >> Out of curiousity, what's the difference between >> $object->fetch >> and >> $object=mgd_get_object($object->id) > > > First, in practice, this will smash your list cursor, but I know what > you mean. The fetch hands you only a partial object -- the larger & > combined fields (that have to be pulled from other tables) have been BTW, since *->sitegroup is not one of the largest field, we could include it in the *->fetch()... > left out for performance reasons. And you don't get the object methods > like you do with the mgd_get. > > Emile > -- Best Regards, David Guerizec Free Software Developer Aurora R&D [EMAIL PROTECTED] Midgard core developer http://www.midgard-project.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Re: [midgard-user] [midgard user] Standard navigation snip... John P . Looney
- [midgard-user] toptics & sitegroups John P . Looney
- Re: [midgard-user] toptics & sitegroups David Guerizec
- Re: [midgard-user] toptics & sitegroups Emiliano
- Re: [midgard-user] toptics & sitegroups David Guerizec
- Re: [midgard-user] toptics & sitegroups Emiliano
- Re: [midgard-user] toptics & sitegroups Emiliano
- Re: [midgard-user] toptics & sitegroups John P . Looney
- Re: [midgard-user] toptics & sitegroups Emiliano
- Re: [midgard-user] toptics & sitegroups John P . Looney
- Re: [midgard-user] toptics & sitegroups David Guerizec
- Re: [midgard-user] toptics & sitegroups John P . Looney
- Re: [midgard-user] toptics & sitegroups Emiliano
- Re: [midgard-user] toptics & sitegroups John P . Looney
- Re: [midgard-user] toptics & sitegroups Emiliano
- Re: [midgard-user] toptics & sitegroups Enrique Vega
- [midgard-user] pages: dividing into Rogaty
- Re: [midgard-user] pages: dividing into Emiliano
- Re: [midgard-user] pages: dividing into Rogaty
- Re: [midgard-user] pages: dividing intoZ Emiliano
- Re: [midgard-user] pages: dividing into John P . Looney
