Beispiel #1
0
 function &getPostTree(&$postArray, $pid = 0)
 {
     $NewBBTree = new NewBBTree('bb_posts');
     $NewBBTree->setPrefix('  ');
     $NewBBTree->setPostArray($postArray);
     $NewBBTree->getPostTree($postsArray, $pid);
     return $postsArray;
 }
Beispiel #2
0
 function &getPostTree(&$postArray, $pid = 0)
 {
     include_once XOOPS_ROOT_PATH . "/modules/newbb/class/newbbtree.php";
     $NewBBTree = new NewBBTree('bb_posts');
     $NewBBTree->setPrefix('  ');
     $NewBBTree->setPostArray($postArray);
     $NewBBTree->getPostTree($postsArray, $pid);
     return $postsArray;
 }