function advanced_forum_get_forum_list in Advanced Forum 5
Same name and namespace in other branches
- 6 advanced_forum.module \advanced_forum_get_forum_list()
File
- ./
advanced_forum.module, line 1604 - Enables the look and feel of other popular forum software.
Code
function advanced_forum_get_forum_list($tid = 0) {
$forums = array();
$vid = variable_get('forum_nav_vocabulary', '');
$forums = taxonomy_get_tree($vid, $tid);
return $forums;
}