> > > mgd_get_object_by_guid
> > and how can I get object's guid?
> $object->guid() returns a string which you can use as reference in hyper
> links instead of $object->id. Then instead using mgd_get_xxxx($id) use
> mgd_get_object_by_guid($guid) when $id and $guid are some arguments to
> this page (for example, /some/page/argument.html, wheer argument will be
> either guid or id depending which value you embedded into hyper link).

ok, I got url - www.domain.com/page/page/xxxx.html

so I use
 if ($argc == 1) $id = $argv[0];
if ($id) $t = mgd_get_topic($id);
if ($id) $a = mgd_get_article($id);

So in this case I think I should generate links 
which uses guids not id? right?
And I sould replace xxxx.html from id to guid?

Piotras


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

Reply via email to