----- Opprinnelig melding ----- 
Fra: Emiliano <[EMAIL PROTECTED]>
Til: <[EMAIL PROTECTED]>
Sendt: 22. mai 2001 11:43
Emne: Re: [midgard-user] Topics and referencing


> Vidar Berg wrote:
> 
> > Hi people,
> > 
> > What is the command for referencing to a topic, and at the same time NOT 
>referencing to the subtopics?
> 
> > Can someone give me an example?
> 
> $topic = mgd_get_topic($id), or
> $topic = mgd_get_topic_by_name($parentid, $name), or
> $topic = mgd_get_object_by_guid($guid) (if the guid happens to refer to 
> a topic object).
> 
> > And, what the fuck is a GUID?
> 
> Language, language :)
> 
> > Everyone is talking about GUIDs and how terrible/wonderful they are. Do I have 
>GUIDs in my midgard-base,
> 
> > and can I use them? :)
> 
> If you're using 1.4 or later, yes, you have them. Globally Unique 
> IDentifiers are a object- and location independant way of identifying a 
> specific object. Every object has an ID, but that's only unique to the 
> table within your specific database. If you want to exchange data (to 
> keep two servers in sync, for example) you work with the GUIDs to be 
> precise about what objects we're dealing with.
> 
> Emile
> 

How can I find the GUIDs? As far as I can see, they appear nowhere in either 
asgard or nadmin. Am I overlooking something? 

Just to ensure: GUIDs are the same to a object no matter what. When a GUID is given, 
the object has the same GUID forever?

Vidar

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to