Unclassified NewsBoard Code Reference

IUser.build_forder function

Sort all forums by parent relation and sort index.

function IUser.build_forder ($parent, &$forder_a, $forums_tbl);

Parameters:

parent
(int) current forum parent to scan
forder_a  –  in,out
(array) all forums we have collected by now
forums_tbl
(array) flat Forums database table listing

Remarks:

The resulting array is a flat list of all forums in the exact order as they
would be displayed on the forums overview page.

Member of class: IUser

Implementation file: unb_lib/user.lib.php, line 1643

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