function _imagecache_definitions_sort in ImageCache 5.2
Same name and namespace in other branches
- 6.2 imagecache.module \_imagecache_definitions_sort()
1 string reference to '_imagecache_definitions_sort'
- imagecache_action_definitions in ./
imagecache.module - Pull in actions exposed by other modules using hook_imagecache_actions().
File
- ./
imagecache.module, line 171 - Dynamic image resizer and image cacher.
Code
function _imagecache_definitions_sort($a, $b) {
$a = $a['name'];
$b = $b['name'];
if ($a == $b) {
return 0;
}
return $a < $b ? -1 : 1;
}