function bueditor_rolesort in BUEditor 6
Same name and namespace in other branches
- 5 bueditor.module \bueditor_rolesort()
- 6.2 admin/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 ./
bueditor.admin.inc - Admin form submit.
- bueditor_sorted_roles in ./
bueditor.admin.inc - Sort roles according to their weights.
File
- ./
bueditor.admin.inc, line 494
Code
function bueditor_rolesort($r1, $r2) {
return $r1['weight'] - $r2['weight'];
}