yes.

say:
$t = topicid;
$topic = mgd_get_topic ($t);

$parent_topic = mgd_get_topic($topic->up);

this is exatly what the up fields in the different articles, tpoics pages etc is
for :)

TH

> 
> Given a topic id, is there an api to retrieve the parent topic?
> 
> Something like:  $parent_topic=mgd_get_parent_topic($topic_id);
> 
> Is there another way to retrieve it?
> 
> ---------------------------------------------------------------------
> 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