1
donamon
getNiceTopicPathFromId
  • 2005/6/21 10:21

  • donamon

  • Just popping in

  • Posts: 2

  • Since: 2005/6/21


hello everyone,

could someone please explain to me, how I use the following function and what is mixed $funcURL ?


xoopstopic.php :

getNiceTopicPathFromId (line 304)
void getNiceTopicPathFromId (mixed $funcURL)


thank you very much.

don

2
donamon
Re: getNiceTopicPathFromId
  • 2005/6/21 16:47

  • donamon

  • Just popping in

  • Posts: 2

  • Since: 2005/6/21


I found it myself in the new RC2:

if($xoopsOption['storytopic']) {
    
$mytree = new XoopsTree($xoopsDB->prefix("topics"),"topic_id","topic_pid");
    
$topicpath $mytree->getNicePathFromId($xoopsOption['storytopic'], "topic_title""index.php?op=1");
    
$xoopsTpl->assign('topic_path'_NW_TOPICC." ".$topicpath."<br><br>");
    unset(
$mytree);
}