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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]