function _tagadelic_sort_by_weight in Tagadelic 5
Same name and namespace in other branches
- 6 tagadelic.module \_tagadelic_sort_by_weight()
- 7 tagadelic.module \_tagadelic_sort_by_weight()
callback for usort, sort by weight
1 string reference to '_tagadelic_sort_by_weight'
- tagadelic_sort_tags in ./
tagadelic.module - API funtion to order a set of tags. @todo If you feel like making this more modular, please send me patches.
File
- ./
tagadelic.module, line 294
Code
function _tagadelic_sort_by_weight($a, $b) {
return $a->weight > $b->weight;
}