Itemlist sorter for navigation items sorted by score (leaves and nodes mixed)

package midcom.helper

 Methods

get_sorted_list ()

get_sorted_list - get a list objects ready for showing.

Returns

mixedFalse on failure or an array of navigation items on success

sort_cmp (array $a, array $b)

User defined sort comparison method
Static

Parameters

$a

arrayNavigation item array

$b

arrayNavigation item array

Returns

integerPreferred order