function openlayers_plus_layer_compare in OpenLayers Plus 7.3
Same name and namespace in other branches
- 7.2 openlayers_plus.module \openlayers_plus_layer_compare()
Openlayers_plus_layer_compare().
1 string reference to 'openlayers_plus_layer_compare'
- openlayers_plus_behavior_legend::render in behaviors/
openlayers_plus_behavior_legend.inc - Render.
File
- ./
openlayers_plus.module, line 259 - Openlayers_plus module file.
Code
function openlayers_plus_layer_compare($a, $b) {
if ($a['title'] == $b['title']) {
return 0;
}
return $a['title'] < $b['title'] ? -1 : 1;
}