function bueditor_rolesort in BUEditor 6.2
Same name and namespace in other branches
- 5 bueditor.module \bueditor_rolesort()
- 6 bueditor.admin.inc \bueditor_rolesort()
- 7 admin/bueditor.admin.inc \bueditor_rolesort()
user sorting function for roles.
2 string references to 'bueditor_rolesort'
- bueditor_admin_submit in admin/
bueditor.admin.inc - Admin form submission.
- bueditor_sorted_roles in admin/
bueditor.admin.inc - Sort roles according to their weights.
File
- admin/
bueditor.admin.inc, line 859
Code
function bueditor_rolesort($r1, $r2) {
return $r1['weight'] - $r2['weight'];
}