function unit_sort in Recipe 7
Same name and namespace in other branches
- 7.2 recipe.module \unit_sort()
Returns the result of comparing two strings.
1 string reference to 'unit_sort'
- recipe_get_units in ./
recipe.module - Returns an array of units.
File
- ./
recipe.module, line 2065 - Contains functions for Recipe node CRUD and display.
Code
function unit_sort($a, $b) {
return strcmp($a['name'], $b['name']);
}