Unclassified NewsBoard Code Reference

UnbListForumsRec function

Writes <option> HTML code for all forums, recursively, into $output
This belongs to UnbEditThread, but is also used by other functions

function UnbListForumsRec ($curr, $disable_cats = false, $parent = 0, $level = 0, $nextAvailBlock = true, $noWebLinks = false);

Parameters:

curr
(int) currently selected forum id
disable_cats  –  optional, default: false
(bool) make category options disabled (not for selecting)
parent  –  optional, default: 0
(int) recursion variable
level  –  optional, default: 0
(int) recursion variable
nextAvailBlock  –  optional, default: true
(bool) recursion variable
noWebLinks  –  optional, default: false
(bool) skip web link "forums"

Implementation file: unb_lib/common_out.lib.php, line 97

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.